cuda.core._module.KernelAttributes#

class cuda.core._module.KernelAttributes(*args, **kwargs)#

Read-only view of a kernel’s per-device attributes.

The default view returned by Kernel.attributes is bound to the current device, resolved at attribute-access time. Use kernel.attributes[device] to obtain a view bound to a specific device (an int device ordinal or Device). Per-device views share the underlying cache so a value queried through one view is visible through the others.

Methods

__init__(*args, **kwargs)#

Attributes