cuda.core.experimental.Kernel#
- class cuda.core.experimental.Kernel(*args, **kwargs)#
Represent a compiled kernel that had been loaded onto the device.
Kernel instances can execution when passed directly into the
launch()
function.Directly creating a
Kernel
is not supported, and they should instead be created through aObjectCode
object.Methods
- __init__()#
Attributes
- property attributes: KernelAttributes#
Get the read-only attributes of this kernel.
- property occupancy: KernelOccupancy#
Get the occupancy information for launching this kernel.