cuda.bindings._v2.driver.library_get_module#

cuda.bindings._v2.driver.library_get_module(intptr_t library) → intptr_t#

Returns a module handle.

Returns in p_mod the module handle associated with the current context located in library library. If module handle is not found, the call returns CUDA_ERROR_NOT_FOUND.

Parameters:

library (intptr_t) – Library to retrieve module from.

Returns:

Returned module handle.

Return type:

intptr_t

See also

cuLibraryGetModule