cuda.bindings._v2.driver.module_load_data_ex#
- cuda.bindings._v2.driver.module_load_data_ex(
- image,
- unsigned int num_options,
- intptr_t options,
- intptr_t option_values,
Load a module’s data with options.
Takes a pointer
imageand loads the corresponding modulemoduleinto the current context. Theimagemay be acubinorfatbinas output by nvcc, or a NULL-terminatedPTX, either as output by nvcc or hand- written, orTileIR data.- Parameters:
image (bytes) – Module data to load.
num_options (unsigned int) – Number of options.
options (intptr_t) – Options for JIT.
option_values (intptr_t) – Option values for JIT.
- Returns:
Returned module.
- Return type:
intptr_t
See also
cuModuleLoadDataEx