pub unsafe extern "C" fn cuKernelGetName(
name: *mut *const c_char,
hfunc: CUkernel,
) -> CUresult
Expand description
\brief Returns the function name for a ::CUkernel handle
Returns in \p **name the function name associated with the kernel handle \p hfunc . 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 \p **name or \p hfunc is NULL, ::CUDA_ERROR_INVALID_VALUE is returned.
\param name - The returned name of the function \param hfunc - The function handle to retrieve the name for
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE \notefnerr