IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo trait

ClusterExecutionConfig

An ExecutionConfig that groups thread blocks into clusters.

Launching one on a target without cluster launch fails to compile.

Implemented traitsโ€‹

AnyType, BlockExecutionConfig, ExecutionConfig, GridBlockExecutionConfig

Required methodsโ€‹

get_cluster_dimโ€‹

def get_cluster_dim(self) -> Dim

Returns the cluster dimensions.

Returns:

Dim: The number of thread blocks in each dimension of a cluster.

Was this page helpful?