Skip to main content

cudaLibraryGetUnifiedFunction

Function cudaLibraryGetUnifiedFunction 

Source
pub unsafe extern "C" fn cudaLibraryGetUnifiedFunction(
    fptr: *mut *mut c_void,
    library: cudaLibrary_t,
    symbol: *const c_char,
) -> cudaError_t
Expand 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 cudaErrorSymbolNotFound. If there is no device with attribute cudaDeviceProp::unifiedFunctionPointers present in the system, the call may return cudaErrorSymbolNotFound.

ยงParameters

  • fptr: Returned pointer to a unified function.
  • library: Library to retrieve function pointer memory from.
  • symbol: Name of function pointer to retrieve.