#include <gpr/covariance_functions/SexpatCF.h>
Public Member Functions | |
| SexpatLocalOracleScope () noexcept | |
| ~SexpatLocalOracleScope () noexcept | |
| SexpatLocalOracleScope (const SexpatLocalOracleScope &)=delete | |
| SexpatLocalOracleScope & | operator= (const SexpatLocalOracleScope &)=delete |
Public Attributes | |
| bool | prev_ |
RAII guard: flips sexpat_local_oracle_active to true on construction and restores the saved value on destruction. Used by GaussianProcessRegression::fitSVGDFromScratch's grad_oracle lambda so the per-particle gradient compute picks up the OpenMP parallelism gated by use_openmp_local_oracle.
Definition at line 47 of file SexpatCF.h.
|
inlinenoexcept |
Definition at line 49 of file SexpatCF.h.
|
inlinenoexcept |
Definition at line 53 of file SexpatCF.h.
|
delete |
|
delete |
| bool gpr::SexpatLocalOracleScope::prev_ |
Definition at line 48 of file SexpatCF.h.