cuda.bindings._v2.driver.kernel_get_function#
- cuda.bindings._v2.driver.kernel_get_function(intptr_t kernel) intptr_t#
Returns a function handle.
Returns in
p_functhe handle of the function for the requested kernelkerneland the current context. If function handle is not found, the call returnsCUDA_ERROR_NOT_FOUND.- Parameters:
kernel (intptr_t) – Kernel to retrieve function for the requested context.
- Returns:
Returned function handle.
- Return type:
intptr_t
See also
cuKernelGetFunction