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

KernelIR package describing the executable graph for a backend. More...

#include <backend.h>

Collaboration diagram for KernelIR:

Public Attributes

const SimIRBuilderbuilder
 
const SimKernelIRBindingbindings
 
size_t binding_count
 
const SimKernelIROutputoutputs
 
size_t output_count
 
double * params
 
size_t param_count
 
uint64_t required_features
 
SimKernelComplexSemantics complex_semantics
 

Detailed Description

KernelIR package describing the executable graph for a backend.

The package is caller-owned for the duration of backend_launch(). Backends may cache compiled artifacts keyed by the builder and emitted source, but they do not take ownership of fields, bindings, outputs, params, or builder storage.

Member Data Documentation

◆ binding_count

size_t KernelIR::binding_count

Number of entries in bindings.

◆ bindings

const SimKernelIRBinding* KernelIR::bindings

Field bindings referenced by the IR.

◆ builder

const SimIRBuilder* KernelIR::builder

Underlying IR builder storage.

◆ complex_semantics

SimKernelComplexSemantics KernelIR::complex_semantics

Complex-lane interpretation contract.

◆ output_count

size_t KernelIR::output_count

Number of kernel outputs.

◆ outputs

const SimKernelIROutput* KernelIR::outputs

Output field mapping for the kernel.

◆ param_count

size_t KernelIR::param_count

Number of entries in params.

◆ params

double* KernelIR::params

Optional runtime parameter array.

◆ required_features

uint64_t KernelIR::required_features

Feature mask required by the kernel.


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