#include <gpr/ml/PhaseTimers.h>
Public Types | |
| enum | Reason { NoPairKernel , NoConstantKernel , NonGaussianLikelihood , EnvironmentModel , StableBasis , ResidualCorrection , ManifoldChart , GeodesicHeatKernel , ObjectiveNotNlml , LengthScalesNotPerPairType , ReasonCount } |
Static Public Member Functions | |
| static std::string | report (const char *execution) |
| One line for the drivers' closing report. | |
| static std::string | fallbackReasons () |
| The properties behind the fallbacks, or nothing when there were none. | |
Static Public Attributes | |
| static std::atomic_size_t | conditions = 0 |
| static std::atomic_size_t | host_fallbacks = 0 |
| static std::atomic_size_t | factorizations = 0 |
| static std::atomic_size_t | appends = 0 |
| static std::atomic_size_t | reuses = 0 |
| static std::atomic_size_t | gradients = 0 |
| static std::atomic_size_t | predictions = 0 |
| static std::atomic_size_t | input_bytes = 0 |
| static std::atomic_size_t | output_bytes = 0 |
| static std::atomic_size_t | factor_downloads = 0 |
| static std::atomic_size_t | factor_download_bytes = 0 |
| static std::atomic_size_t | coefficient_downloads = 0 |
| static std::atomic_size_t | coefficient_download_bytes = 0 |
| static std::atomic_size_t | fallback_reasons [ReasonCount] = {} |
| static constexpr const char * | reason_names [ReasonCount] |
Process-wide account of where the GP posterior lived during a run of a Kokkos build. A fit either conditions the device posterior or, when the model is outside what that posterior supports, falls back to the host factor; host_fallbacks counts the latter, so a run whose GP never reached the device shows it. Bytes are what crossed the host boundary: coordinates, targets and noise in; predictions, scalar derivatives and any downloaded factor or coefficient vector out. A factor or coefficient download means a consumer read host storage, which ends residency for that fit. Static, like PhaseTimers, so model copies cannot lose a count.
Definition at line 194 of file PhaseTimers.h.
Why a fit fell back: the model properties the device posterior does not support. A fit counts once under each property it has.
| Enumerator | |
|---|---|
| NoPairKernel | |
| NoConstantKernel | |
| NonGaussianLikelihood | |
| EnvironmentModel | |
| StableBasis | |
| ResidualCorrection | |
| ManifoldChart | |
| GeodesicHeatKernel | |
| ObjectiveNotNlml | |
| LengthScalesNotPerPairType | |
| ReasonCount | |
Definition at line 211 of file PhaseTimers.h.
|
inlinestatic |
The properties behind the fallbacks, or nothing when there were none.
Definition at line 260 of file PhaseTimers.h.
|
inlinestatic |
One line for the drivers' closing report.
Definition at line 239 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 198 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 207 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 206 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 195 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 205 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 204 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 197 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 224 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 200 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 196 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 202 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 203 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 201 of file PhaseTimers.h.
|
staticconstexpr |
Definition at line 225 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 199 of file PhaseTimers.h.