docs: note when DSL dumps are populated

This commit is contained in:
Colin Peppler
2025-12-19 17:05:12 -08:00
parent 331e2f451c
commit 4b52d37ecd

View File

@@ -112,6 +112,9 @@ For compiled kernels, the generated PTX/CUBIN/IR can be accessed programmaticall
- ``__cubin__``: The generated CUBIN data of the compiled kernel.
- ``__mlir__``: The generated IR code of the compiled kernel.
These attributes are populated only when the corresponding ``CUTE_DSL_KEEP_*`` environment variable is enabled;
otherwise they return ``None``.
.. code:: python
compiled_foo = cute.compile(foo, ...)