cuda.bindings._v2.driver.library_get_kernel_count#

cuda.bindings._v2.driver.library_get_kernel_count(intptr_t lib) → unsigned int#

Returns the number of kernels within a library.

Returns in count the number of kernels in lib.

Parameters:

lib (intptr_t) – Library to query.

Returns:

Number of kernels found within the library.

Return type:

unsigned int

See also

cuLibraryGetKernelCount