@@ -628,7 +628,7 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
628
628
< dd class ="field-odd "> < ul class ="simple ">
629
629
< li > < p > < strong > dst</ strong > (< em > Buffer</ em > ) – Destination buffer/address to apply the atomic max.</ p > </ li >
630
630
< li > < p > < strong > value</ strong > (< em > PrimExpr</ em > ) – Value to compare/store atomically.</ p > </ li >
631
- < li > < p > < strong > memory_order</ strong > (< em > str </ em > < em > | </ em > < em > None </ em > ) – Optional memory-order name (e.g. “relaxed”, “acquire”, “seq_cst”).
631
+ < li > < p > < strong > memory_order</ strong > (< em > Optional </ em > < em > [ </ em > < em > str </ em > < em > ] </ em > ) – Optional memory-order name (e.g. “relaxed”, “acquire”, “seq_cst”).
632
632
If provided, it is translated to the corresponding numeric memory-order id before the call.</ p > </ li >
633
633
</ ul >
634
634
</ dd >
@@ -651,7 +651,7 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
651
651
< dl class ="field-list simple ">
652
652
< dt class ="field-odd "> Parameters< span class ="colon "> :</ span > </ dt >
653
653
< dd class ="field-odd "> < ul class ="simple ">
654
- < li > < p > < strong > memory_order</ strong > (< em > str </ em > < em > | </ em > < em > None </ em > ) – Optional memory-order name controlling the atomic operation’s ordering.</ p > </ li >
654
+ < li > < p > < strong > memory_order</ strong > (< em > Optional </ em > < em > [ </ em > < em > str </ em > < em > ] </ em > ) – Optional memory-order name controlling the atomic operation’s ordering.</ p > </ li >
655
655
< li > < p > < strong > dst</ strong > (< em > tvm.tir.Buffer</ em > )</ p > </ li >
656
656
< li > < p > < strong > value</ strong > (< em > tvm.tir.PrimExpr</ em > )</ p > </ li >
657
657
</ ul >
@@ -681,7 +681,7 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
681
681
< dd class ="field-odd "> < ul class ="simple ">
682
682
< li > < p > < strong > dst</ strong > (< em > tvm.tir.Buffer</ em > )</ p > </ li >
683
683
< li > < p > < strong > value</ strong > (< em > tvm.tir.PrimExpr</ em > )</ p > </ li >
684
- < li > < p > < strong > memory_order</ strong > (< em > str </ em > < em > | </ em > < em > None </ em > )</ p > </ li >
684
+ < li > < p > < strong > memory_order</ strong > (< em > Optional </ em > < em > [ </ em > < em > str </ em > < em > ] </ em > )</ p > </ li >
685
685
</ ul >
686
686
</ dd >
687
687
</ dl >
0 commit comments