pub unsafe extern "C" fn cudaLibraryEnumerateKernels(
kernels: *mut cudaKernel_t,
numKernels: c_uint,
lib: cudaLibrary_t,
) -> cudaError_tExpand 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.