Skip to content

Commit 02e615d

Browse files
authored
[NFC] Fix some issues in NVPTX Usage document (llvm#176289)
- Fix RST syntax for links. - Fix names for 2 fence proxy intrinsics.
1 parent f3f982d commit 02e615d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/docs/NVPTXUsage.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -902,14 +902,14 @@ Syntax:
902902

903903
.. code-block:: llvm
904904
905-
declare void @llvm.nvvm.fence.proxy.async.generic.acquire.sync_restrict.space.cluster.scope.cluster()
906-
declare void @llvm.nvvm.fence.proxy.async.generic.release.sync_restrict.space.cta.scope.cluster()
905+
declare void @llvm.nvvm.fence.proxy.async_generic.acquire.sync_restrict.space.cluster.scope.cluster()
906+
declare void @llvm.nvvm.fence.proxy.async_generic.release.sync_restrict.space.cta.scope.cluster()
907907
908908
Overview:
909909
"""""""""
910910

911911
`nvvm.fence.proxy.async_generic.{semantics}.sync_restrict` are used to establish
912-
ordering between a prior memory access performed via the `async proxy<https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#proxies>__`
912+
ordering between a prior memory access performed via the `async proxy <https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#proxies>`__
913913
and a subsequent memory access performed via the generic proxy.
914914
``nvvm.fence.proxy.async_generic.release.sync_restrict`` can form a release
915915
sequence that synchronizes with an acquire sequence that contains the
@@ -941,7 +941,7 @@ Overview:
941941

942942
`nvvm.fence.proxy.{proxykind}` intrinsics represent a fence with bi-directional
943943
proxy ordering that is established between the memory accesses done between the
944-
`generic proxy<https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#proxies>__`
944+
`generic proxy <https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#proxies>`__
945945
and the proxy specified by `proxykind`. A `bi-directional proxy` ordering between
946946
two proxykinds establishes two `uni-directional` proxy orderings: one from the
947947
first proxykind to the second proxykind and the other from the second proxykind

0 commit comments

Comments
 (0)