pub unsafe extern "C" fn cudaFuncGetName(
name: *mut *const c_char,
func: *const c_void,
) -> cudaError_t
Expand description
\brief Returns the function name for a device entry function pointer.
Returns in \p **name the function name associated with the symbol \p func . The function name is returned as a null-terminated string. This API may return a mangled name if the function is not declared as having C linkage. If \p **name is NULL, ::cudaErrorInvalidValue is returned. If \p func is not a device entry function, ::cudaErrorInvalidDeviceFunction is returned.
\param name - The returned name of the function \param func - The function pointer to retrieve name for
\return ::cudaSuccess, ::cudaErrorInvalidValue, ::cudaErrorInvalidDeviceFunction \notefnerr \note_init_rt \note_callback
\ref ::cudaFuncGetName(const char **name, const T *func) “cudaFuncGetName (C++ API)”