Function kn_cuda_sys::bindings::cuLibraryGetUnifiedFunction

source ยท
pub unsafe extern "C" fn cuLibraryGetUnifiedFunction(
    fptr: *mut *mut c_void,
    library: CUlibrary,
    symbol: *const c_char,
) -> CUresult
Expand description

\brief Returns a pointer to a unified function

Returns in \p *fptr the function pointer to a unified function denoted by \p symbol. If no unified function with name \p symbol exists, the call returns ::CUDA_ERROR_NOT_FOUND. If there is no device with attribute ::CU_DEVICE_ATTRIBUTE_UNIFIED_FUNCTION_POINTERS present in the system, the call may return ::CUDA_ERROR_NOT_FOUND.

\param fptr - Returned pointer to a unified function \param library - Library to retrieve function pointer memory from \param symbol - Name of function pointer to retrieve

\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_HANDLE, ::CUDA_ERROR_NOT_FOUND,

\sa ::cuLibraryLoadData, ::cuLibraryLoadFromFile, ::cuLibraryUnload,