Function cuLibraryGetKernel

Source
pub unsafe extern "C" fn cuLibraryGetKernel(
    pKernel: *mut CUkernel,
    library: CUlibrary,
    name: *const c_char,
) -> CUresult
Expand description

\brief Returns a kernel handle

Returns in \p pKernel the handle of the kernel with name \p name located in library \p library. If kernel handle is not found, the call returns ::CUDA_ERROR_NOT_FOUND.

\param pKernel - Returned kernel handle \param library - Library to retrieve kernel from \param name - Name of kernel 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, ::cuKernelGetFunction, ::cuLibraryGetModule, ::cuModuleGetFunction