pub unsafe extern "C" fn cuLibraryGetKernelCount( count: *mut c_uint, lib: CUlibrary, ) -> CUresult
Returns the number of kernels within a library.
Returns in count the number of kernels in lib.
count
lib
CUresult::CUDA_SUCCESS
CUresult::CUDA_ERROR_INVALID_HANDLE
CUresult::CUDA_ERROR_INVALID_VALUE