pub unsafe extern "C" fn cuKernelGetLibrary(
pLib: *mut CUlibrary,
kernel: CUkernel,
) -> CUresultExpand description
Returns a library handle.
Returns in pLib the handle of the library for the requested kernel kernel.
§Parameters
pLib: Returned library handle.kernel: Kernel to retrieve library handle.
§Return value
CUresult::CUDA_SUCCESSCUresult::CUDA_ERROR_DEINITIALIZEDCUresult::CUDA_ERROR_NOT_INITIALIZEDCUresult::CUDA_ERROR_INVALID_VALUECUresult::CUDA_ERROR_INVALID_HANDLECUresult::CUDA_ERROR_NOT_FOUND
See also: cuLibraryLoadData, cuLibraryLoadFromFile, cuLibraryUnload, cuLibraryGetKernel.