Module - Experimental#
oneAPI Level Zero Specification - Version 1.18.31
Module - Experimental Structures#
ze_module_program_exp_desc_t#
Added in version 1.0
-
struct ze_module_program_exp_desc_t#
Module extended descriptor to support multiple input modules.
Implementation must support ZE_MODULE_PROGRAM_EXP_NAME extension
Modules support import and export linkage for functions and global variables.
pInputModules, pBuildFlags, and pConstants from ze_module_desc_t is ignored.
Format in ze_module_desc_t needs to be set to ZE_MODULE_FORMAT_IL_SPIRV or ZE_MODULE_FORMAT_NATIVE.
All modules in the list must be of the same format and match the format specified in ze_module_desc_t.
Public Members
-
ze_structure_type_t stype#
[in] type of this structure
-
const void *pNext#
[in][optional] must be null or a pointer to an extension-specific structure (i.e. contains stype and pNext).
-
uint32_t count#
[in] Count of input modules
-
const size_t *inputSizes#
[in][range(0, count)] sizes of each input module in pInputModules.
-
const uint8_t **pInputModules#
[in][range(0, count)] pointer to an array of binary modules in format specified as part of ze_module_desc_t.
-
const char **pBuildFlags#
[in][optional][range(0, count)] array of strings containing build flags. See pBuildFlags in ze_module_desc_t.
-
const ze_module_constants_t **pConstants#
[in][optional][range(0, count)] pointer to array of specialization constant strings. Valid only for SPIR-V input. This must be set to nullptr if no specialization constants are provided.