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 *hfunc the handle of the function of name name located in module hmod. If no function of that name exists, module_get_function() returns CUDA_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