pub unsafe extern "C" fn cudaLibraryGetUnifiedFunction(
fptr: *mut *mut c_void,
library: cudaLibrary_t,
symbol: *const c_char,
) -> cudaError_tExpand description
Returns a pointer to a unified function.
Returns in *fptr the function pointer to a unified function denoted by symbol. If no unified function with name symbol exists, the call returns cudaError_t::CUDA_ERROR_NOT_FOUND. If there is no device with attribute cudaDeviceProp::unifiedFunctionPointers present in the system, the call may return cudaError_t::CUDA_ERROR_NOT_FOUND.
§Parameters
fptr: Returned pointer to a unified function.library: Library to retrieve function pointer memory from.symbol: Name of function pointer to retrieve.
§Return value
cudaError_t::CUDA_SUCCESScudaError_t::CUDA_ERROR_DEINITIALIZEDcudaError_t::CUDA_ERROR_NOT_INITIALIZEDcudaError_t::CUDA_ERROR_INVALID_VALUEcudaError_t::CUDA_ERROR_INVALID_HANDLEcudaError_t::CUDA_ERROR_NOT_FOUND
See also: cudaLibraryLoadData, cudaLibraryLoadFromFile, cudaLibraryUnload, cuLibraryGetUnifiedFunction.