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 package
profiling_range
Provides Mojo wrappers for MAX's libkineto-backed range profiler.
Provides the Range context manager and the is_enabled() query for
instrumenting GPU and CPU code with named activity spans visible in profiling
tools such as Nsight and the Kineto-based trace viewer.
from profiling_range import Range
with Range("my_span"):
... # work to profileThe package is named profiling_range to avoid shadowing Mojo's built-in
range() iterator.
Modules
-
range: MojoRangecontext manager for libkineto activity spans.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!