parameter - 2023.1 English

AI Engine Kernel and Graph Programming Guide (UG1079)

Document ID
UG1079
Release Date
2023-06-23
Version
2023.1 English

The parameter class contains two static member functions to allow you to associate globally declared variables with kernels.

Member Functions

static parameter & array(X)

Wrap around any extern declaration of an array to capture the size and type of that array variable.

static parameter & scalar(Y)

Wrap around any extern declaration of a scalar value (including user defined structs).