[PATCH] D17046: AMDGPU: Document address space mapping
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 5 18:34:48 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL265500: AMDGPU: Document address space mapping (authored by tstellar).
Changed prior to commit:
http://reviews.llvm.org/D17046?vs=47620&id=52758#toc
Repository:
rL LLVM
http://reviews.llvm.org/D17046
Files:
llvm/trunk/docs/AMDGPUUsage.rst
Index: llvm/trunk/docs/AMDGPUUsage.rst
===================================================================
--- llvm/trunk/docs/AMDGPUUsage.rst
+++ llvm/trunk/docs/AMDGPUUsage.rst
@@ -9,6 +9,29 @@
the R600 family up until the current Volcanic Islands (GCN Gen 3).
+Conventions
+===========
+
+Address Spaces
+--------------
+
+The AMDGPU back-end uses the following address space mapping:
+
+ ============= ============================================
+ Address Space Memory Space
+ ============= ============================================
+ 0 Private
+ 1 Global
+ 2 Constant
+ 3 Local
+ 4 Generic (Flat)
+ 5 Region
+ ============= ============================================
+
+The terminology in the table, aside from the region memory space, is from the
+OpenCL standard.
+
+
Assembler
=========
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17046.52758.patch
Type: text/x-patch
Size: 902 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160406/f19fbfde/attachment.bin>
More information about the llvm-commits
mailing list