You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: autoapi/tilelang/language/print/index.html
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -482,7 +482,7 @@
482
482
<sectionid="module-tilelang.language.print">
483
483
<spanid="tilelang-language-print"></span><h1>tilelang.language.print<aclass="headerlink" href="#module-tilelang.language.print" title="Link to this heading">¶</a></h1>
484
484
<p>This module provides macros and utilities for debugging TileLang (tl) programs.
485
-
It includes functionality to print variables, print values in buffers, and conditionally execute debug prints.</p>
485
+
It includes functionality to print variables, print values in buffers, conditionally execute debug prints and assert.</p>
486
486
<sectionid="functions">
487
487
<h2>Functions<aclass="headerlink" href="#functions" title="Link to this heading">¶</a></h2>
<spanclass="sig-prename descclassname"><spanclass="pre">tilelang.language.print.</span></span><spanclass="sig-name descname"><spanclass="pre">device_assert</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">condition</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">msg</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">''</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink" href="#tilelang.language.print.device_assert" title="Link to this definition">¶</a></dt>
650
+
<dd><p>Device-side assert emulation.
651
+
Emits a device-side assert call on CUDA targets when CUDA is available.
652
+
The assert is always enabled and cannot be disabled at runtime.</p>
<li><ahref="autoapi/tilelang/language/print/index.html#tilelang.language.print.device_assert">device_assert() (in module tilelang.language.print)</a>
1604
+
</li>
1603
1605
<li><ahref="autoapi/tilelang/engine/lower/index.html#tilelang.engine.lower.device_codegen">device_codegen() (in module tilelang.engine.lower)</a>
1604
1606
</li>
1605
1607
<li><ahref="autoapi/tilelang/engine/lower/index.html#tilelang.engine.lower.device_codegen_without_compile">device_codegen_without_compile() (in module tilelang.engine.lower)</a>
0 commit comments