cuda.bindings._v2.driver.module_get_function#
- cuda.bindings._v2.driver.module_get_function(intptr_t hmod, name) intptr_t#
Returns a function handle.
Returns in
*hfuncthe handle of the function of namenamelocated in modulehmod. If no function of that name exists,module_get_function()returnsCUDA_ERROR_NOT_FOUND.- Parameters:
hmod (intptr_t) – Module to retrieve function from.
name (bytes) – Name of function to retrieve.
- Returns:
Returned function handle.
- Return type:
intptr_t
See also
cuModuleGetFunction