cuda.bindings._v2.driver.LaunchAttributePortableClusterMode#

class cuda.bindings._v2.driver.LaunchAttributePortableClusterMode(value: int)#

Enum for defining applicability of portable cluster size, used with cuLaunchKernelEx

See CUlaunchAttributePortableClusterMode.

DEFAULT: 0

The default to use for allowing non-portable cluster size on launch - uses current function attribute for CU_FUNC_ATTRIBUTE_NON_PORTABLE_CLUSTER_SIZE_ALLOWED

REQUIRE_PORTABLE: 1

Specifies that the cluster size requested must be a portable size

ALLOW_NON_PORTABLE: 2

Specifies that the cluster size requested may be a non-portable size