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

Field binding made available to a compiled kernel. More...

#include <backend.h>

Collaboration diagram for SimKernelIRBinding:

Public Attributes

size_t field_index
 
SimFieldfield
 
const size_t * shape
 
const size_t * strides
 
size_t rank
 

Detailed Description

Field binding made available to a compiled kernel.

Bindings connect KernelIR field identifiers to runtime field storage and layout metadata. Shape and stride arrays are measured in elements, not bytes; when they are NULL, helper code may fall back to the field layout.

Member Data Documentation

◆ field

SimField* SimKernelIRBinding::field

Pointer to the bound field instance.

◆ field_index

size_t SimKernelIRBinding::field_index

Index used by the IR to reference the field.

◆ rank

size_t SimKernelIRBinding::rank

Rank of the bound field.

◆ shape

const size_t* SimKernelIRBinding::shape

Shape pointer (elements) for the bound field.

◆ strides

const size_t* SimKernelIRBinding::strides

Strides pointer (elements) for the bound field.


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