Skip to content

Commit 9123a4a

Browse files
Update docs
1 parent 76d6668 commit 9123a4a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

_sources/autoapi/tilelang/jit/adapter/wrapper/index.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Module Contents
5252
5353
"""
5454
cudaError_t result_{0} = cudaFuncSetAttribute({0}, cudaFuncAttributeMaxDynamicSharedMemorySize, {1});
55-
if (result_{0} != CUDA_SUCCESS) {{
55+
if (result_{0} != cudaSuccess) {{
5656
snprintf(error_buf, ERROR_BUF_SIZE, "Failed to set the allowed dynamic shared memory size to %d with error: %s", {1}, cudaGetErrorString(result_{0}));
5757
return -1;
5858
}}

autoapi/tilelang/jit/adapter/wrapper/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
565565
<span class="sig-prename descclassname"><span class="pre">tilelang.jit.adapter.wrapper.</span></span><span class="sig-name descname"><span class="pre">PREDEF_ATTRIBUTE_SET_DYNAMIC_MEMORY</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">Multiline-String</span></em><a class="headerlink" href="#tilelang.jit.adapter.wrapper.PREDEF_ATTRIBUTE_SET_DYNAMIC_MEMORY" title="Link to this definition"></a></dt>
566566
<dd><details><summary>Show Value</summary><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="sd">&quot;&quot;&quot;</span>
567567
<span class="sd"> cudaError_t result_{0} = cudaFuncSetAttribute({0}, cudaFuncAttributeMaxDynamicSharedMemorySize, {1});</span>
568-
<span class="sd"> if (result_{0} != CUDA_SUCCESS) {{</span>
568+
<span class="sd"> if (result_{0} != cudaSuccess) {{</span>
569569
<span class="sd"> snprintf(error_buf, ERROR_BUF_SIZE, &quot;Failed to set the allowed dynamic shared memory size to %d with error: %s&quot;, {1}, cudaGetErrorString(result_{0}));</span>
570570
<span class="sd"> return -1;</span>
571571
<span class="sd"> }}</span>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)