IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/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. /max/get-started.md).

Mojo module

device_query

Provides device query utilities for communication primitives.

comptime values​

GB​

comptime GB = 1073741824

KB​

comptime KB = 1024

MB​

comptime MB = 1048576

Structs​

  • ​DefaultCommTuningConfig: Parameters: ngpus: Number of GPUs for running allreduce. num_bytes: Total number of input bytes supported by the config. sm_version: SM version (as string). num_blocks: Number of thread blocks for running allreduce.

Traits​

Functions​