Skip to main content

cuLibraryGetKernelCount

Function cuLibraryGetKernelCount 

Source
pub unsafe extern "C" fn cuLibraryGetKernelCount(
    count: *mut c_uint,
    lib: CUlibrary,
) -> CUresult
Expand description

Returns the number of kernels within a library.

Returns in count the number of kernels in lib.

§Parameters

  • count: Number of kernels found within the library.
  • lib: Library to query.

§Return value