|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Diagnostics container for special-function faults and fallback. More...
#include <sim_diagnostics.h>

Public Attributes | |
| SimSpecialFallbackFn | fallback_user |
| void * | fallback_userdata |
| volatile int | fault_lock |
| uint64_t | fault_count |
| SimSpecialEvalReport | fault_last |
| char | fault_function [64] |
| uint64_t | kernel_dispatch_count |
| uint64_t | kernel_fallback_count |
| bool | kernel_last_valid |
| bool | kernel_last_fallback_used |
| SimDiagnosticBackendKind | kernel_last_requested_backend |
| SimDiagnosticBackendKind | kernel_last_executed_backend |
| char | kernel_last_operator [64] |
| char | kernel_last_fallback_reason [96] |
| bool | enable_invariant_checks |
| uint64_t | representation_complex_promotions |
| uint64_t | representation_domain_adjustments |
Diagnostics container for special-function faults and fallback.
| bool SimDiagnostics::enable_invariant_checks |
Enable lightweight invariant checks post-operator.
| SimSpecialFallbackFn SimDiagnostics::fallback_user |
Optional user-provided fallback.
| void* SimDiagnostics::fallback_userdata |
Userdata forwarded to fallback.
| uint64_t SimDiagnostics::fault_count |
Total observed special-function faults.
| char SimDiagnostics::fault_function[64] |
Storage for last fault function label.
| SimSpecialEvalReport SimDiagnostics::fault_last |
Last recorded fault report.
| volatile int SimDiagnostics::fault_lock |
Spin-lock guarding fault state.
| uint64_t SimDiagnostics::kernel_dispatch_count |
Total kernel dispatch attempts.
| uint64_t SimDiagnostics::kernel_fallback_count |
Kernel dispatches that fell back to CPU.
| SimDiagnosticBackendKind SimDiagnostics::kernel_last_executed_backend |
Backend that executed the last kernel.
| char SimDiagnostics::kernel_last_fallback_reason[96] |
Last CPU fallback reason.
| bool SimDiagnostics::kernel_last_fallback_used |
True when the last kernel ran via CPU fallback.
| char SimDiagnostics::kernel_last_operator[64] |
Last kernel operator name.
| SimDiagnosticBackendKind SimDiagnostics::kernel_last_requested_backend |
Requested backend for last kernel.
| bool SimDiagnostics::kernel_last_valid |
True when a kernel dispatch has been recorded.
| uint64_t SimDiagnostics::representation_complex_promotions |
Count of complex promotions performed by resolver.
| uint64_t SimDiagnostics::representation_domain_adjustments |
Count of domain adjustments performed by resolver.