pub unsafe extern "C" fn cuLibraryEnumerateKernels(
kernels: *mut CUkernel,
numKernels: c_uint,
lib: CUlibrary,
) -> CUresultExpand description
Retrieve the kernel handles within a library.
Returns in kernels a maximum number of numKernels kernel handles within lib. The returned kernel handle becomes invalid when the library is unloaded.
§Parameters
kernels: Buffer where the kernel handles are returned to.numKernels: Maximum number of kernel handles may be returned to the buffer.lib: Library to query from.
§Return value
See also: cuLibraryGetKernelCount.