AI Engine/User-Defined Functions
The AIE Class Kernel block is used to import class-based kernels. This block also supports importing class templates to define a family of kernels.
|Parameter Name||Parameter Type||Criticality||Description|
|Kernel header file||String||Mandatory||Name of the header file that contains the kernel class and registerKernelClass method declarations The string could be just the file name, a relative path to the file or an absolute path of the file. Use the browse button to choose the file.|
|Kernel class||String||Mandatory||Name of the kernel class which contains member variables and kernel member functions.|
|Kernel function||String||Mandatory||Name of the kernel member function for which the block is to be created. This function should be registered using the registerKernelClass method in the kernel header file.|
|Kernel source file||String||Mandatory||
Name of the source file that contains where the kernel member function definition and non-default constructor parameter values are specified.
The string could be the file name, a relative path to the file or an absolute path of the file.
|Kernel search paths||Vector of strings||Optional||
If the kernel header file or the kernel source file are not found using the value provided through the Kernel header file or Kernel source file fields respectively, then the paths provided through Kernel search paths are used to find the files.
This parameter allows use of environment variables while
specifying paths for the kernel header file and the kernel
source file. The environment variable can be used in either
Optional preprocessor arguments for downstream compilation with specific preprocessor options.
The following two preprocessor option formats are accepted and multiple
can be selected: