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

BlockExecutionConfig

An ExecutionConfig that launches SIMT thread blocks.

It promises no grid, so it also fits SIMT devices without one.

Implemented traitsโ€‹

AnyType, ExecutionConfig

Required methodsโ€‹

get_block_dimโ€‹

def get_block_dim(self) -> Dim

Returns the block dimensions.

Returns:

Dim: The number of threads in each dimension of a thread block.

Was this page helpful?