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

LaunchAttributeHolderExecutionConfig

An ExecutionConfig that carries CUDA launch attributes.

Launching one on a target without launch attributes fails to compile. The attributes can't set a cluster dimension: a cluster comes only from a ClusterExecutionConfig's get_cluster_dim(), and a launch whose attributes hold one raises.

Implemented traits​

AnyType, ExecutionConfig

Required methods​

get_launch_attributes​

def get_launch_attributes[o: ImmOrigin](ref[_Self] self) -> Span[LaunchAttribute, o]

Returns the launch attributes.

Parameters:

Returns:

Span[LaunchAttribute, o]: The attributes to apply to the launch.

Was this page helpful?