cuda.bindings._v2.driver.module_enumerate_functions#
- cuda.bindings._v2.driver.module_enumerate_functions(intptr_t mod)#
Returns the function handles within a module.
Returns in
functionsa maximum number ofnum_functionsfunction handles withinmod. When function loading mode is set to LAZY the function retrieved may be partially loaded. The loading state of a function can be queried usingcuFunctionIsLoaded. CUDA APIs may load the function automatically when called with partially loaded function handle which may incur additional latency. Alternatively,cuFunctionLoadcan be used to explicitly load a function. The returned function handles become invalid when the module is unloaded.- Parameters:
mod (intptr_t) – Module to query from.
- Returns:
Buffer where the function handles are returned to.
- Return type:
intptr_t
See also
cuModuleEnumerateFunctions