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 kernels a maximum number of num_kernels kernel handles within lib. 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