cuda.bindings._v2.driver.ClusterSchedulingPolicy#

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

Cluster scheduling policies. These may be passed to cuFuncSetAttribute or cuKernelSetAttribute

See CUclusterSchedulingPolicy.

DEFAULT: 0

the default policy

SPREAD: 1

spread the blocks within a cluster to the SMs

LOAD_BALANCING: 2

allow the hardware to load-balance the blocks in a cluster to the SMs

RUBIN_DSMEM_LOCALITY: 3