[llvm] [AMDGPU] Document amdgpu-as in AMDGPUUsage (PR #94335)
Sameer Sahasrabuddhe via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 11 01:17:28 PDT 2024
================
@@ -5969,6 +5969,33 @@ following sections:
* :ref:`amdgpu-amdhsa-memory-model-gfx942`
* :ref:`amdgpu-amdhsa-memory-model-gfx10-gfx11`
+.. _amdgpu-fence-as:
+
+Fence and Address Spaces
+++++++++++++++++++++++++++++++
+
+LLVM fences do not have address space information, thus, fence
+codegen usually needs to conservatively synchronize all address spaces.
+
+In the case of OpenCL, where fences only needs to synchronize
----------------
ssahasra wrote:
"needs" should be "need".
https://github.com/llvm/llvm-project/pull/94335
More information about the llvm-commits
mailing list