Skip to main content

cuLibraryGetKernel

Function cuLibraryGetKernel 

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

Returns a kernel handle.

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

ยงParameters

  • pKernel: Returned kernel handle.
  • library: Library to retrieve kernel from.
  • name: Name of kernel to retrieve.