cuda.bindings._v2.driver.library_enumerate_kernels#
- cuda.bindings._v2.driver.library_enumerate_kernels(intptr_t lib)#
Retrieve the kernel handles within a library.
Returns in
kernelsa maximum number ofnum_kernelskernel handles withinlib. The returned kernel handle becomes invalid when the library is unloaded.- Parameters:
lib (intptr_t) – Library to query from.
- Returns:
Buffer where the kernel handles are returned to.
- Return type:
intptr_t
See also
cuLibraryEnumerateKernels