Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
sim_diagnostics.h File Reference

Simulation diagnostics state (faults, fallback hooks, counters). More...

#include "math/special_functions.h"
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for sim_diagnostics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SimDiagnostics
 Diagnostics container for special-function faults and fallback. More...
 

Typedefs

typedef enum SimDiagnosticBackendKind SimDiagnosticBackendKind
 Backend families recorded in diagnostic fallback events.
 
typedef struct SimDiagnostics SimDiagnostics
 Diagnostics container for special-function faults and fallback.
 

Enumerations

enum  SimDiagnosticBackendKind { SIM_DIAGNOSTIC_BACKEND_CPU = 0 , SIM_DIAGNOSTIC_BACKEND_CUDA = 1 , SIM_DIAGNOSTIC_BACKEND_METAL = 2 , SIM_DIAGNOSTIC_BACKEND_UNKNOWN = 255 }
 Backend families recorded in diagnostic fallback events. More...
 

Detailed Description

Simulation diagnostics state (faults, fallback hooks, counters).

Enumeration Type Documentation

◆ SimDiagnosticBackendKind

Backend families recorded in diagnostic fallback events.

Enumerator
SIM_DIAGNOSTIC_BACKEND_CPU 

CPU execution backend.

SIM_DIAGNOSTIC_BACKEND_CUDA 

CUDA execution backend.

SIM_DIAGNOSTIC_BACKEND_METAL 

Metal execution backend.

SIM_DIAGNOSTIC_BACKEND_UNKNOWN 

Backend was unavailable or not recorded.