cuda.bindings._v2.driver.module_load_data#
- cuda.bindings._v2.driver.module_load_data(image) intptr_t#
Load a module’s data.
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.
- Returns:
Returned module.
- Return type:
intptr_t
See also
cuModuleLoadData