Function cuKernelGetLibrary

Source
pub unsafe extern "C" fn cuKernelGetLibrary(
    pLib: *mut CUlibrary,
    kernel: CUkernel,
) -> CUresult
Expand description

\brief Returns a library handle

Returns in \p pLib the handle of the library for the requested kernel \p kernel

\param pLib - Returned library handle \param kernel - Kernel to retrieve library handle

\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, ::cuLibraryGetKernel