Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
SimIRStatefulSpec Struct Reference

Metadata for creating stateful IR nodes. More...

#include <kernel_ir.h>

Collaboration diagram for SimIRStatefulSpec:

Public Attributes

SimIRStatefulEvalFn eval
 
void * userdata
 
const char * label
 
SimIRType value_type
 

Detailed Description

Metadata for creating stateful IR nodes.

Member Data Documentation

◆ eval

SimIRStatefulEvalFn SimIRStatefulSpec::eval

Callback to produce the node value.

◆ label

const char* SimIRStatefulSpec::label

Optional label for MathView rendering.

◆ userdata

void* SimIRStatefulSpec::userdata

User context passed to eval.

◆ value_type

SimIRType SimIRStatefulSpec::value_type

Resulting value type (defaults to scalar).


The documentation for this struct was generated from the following file: