cuda.bindings._v2.driver.kernel_get_name#
- cuda.bindings._v2.driver.kernel_get_name(intptr_t hfunc) bytes#
Returns the function name for a
CUkernelhandle.Returns in
**namethe function name associated with the kernel handlehfunc. The function name is returned as a null-terminated string. The returned name is only valid when the kernel handle is valid. If the library is unloaded or reloaded, one must call the API again to get the updated name. This API may return a mangled name if the function is not declared as having C linkage. If either**nameorhfuncis NULL,CUDA_ERROR_INVALID_VALUEis returned.- Parameters:
hfunc (intptr_t) – The function handle to retrieve the name for.
- Returns:
The returned name of the function.
- Return type:
See also
cuKernelGetName