cuda.bindings._v2.driver.library_get_kernel#

cuda.bindings._v2.driver.library_get_kernel(intptr_t library, name) → intptr_t#

Returns a kernel handle.

Returns in p_kernel the handle of the kernel with name name located in library library. If kernel handle is not found, the call returns CUDA_ERROR_NOT_FOUND.

Parameters:
  • library (intptr_t) – Library to retrieve kernel from.

  • name (bytes) – Name of kernel to retrieve.

Returns:

Returned kernel handle.

Return type:

intptr_t

See also

cuLibraryGetKernel