diff options
| author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-02-08 15:41:19 +0000 |
|---|---|---|
| committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-02-08 15:41:19 +0000 |
| commit | 976f317f0c89cab5d5e849b66993472486869ffd (patch) | |
| tree | d9a30d946de4dfce98ce1a4d19a6371e83ef787d /llvm/docs/AMDGPUUsage.rst | |
| parent | 574fb73c8961c711bd7614f205a8f8e4ef486c7b (diff) | |
| download | bcm5719-llvm-976f317f0c89cab5d5e849b66993472486869ffd.tar.gz bcm5719-llvm-976f317f0c89cab5d5e849b66993472486869ffd.zip | |
[AMDGPU] Updae documentation about address space
llvm-svn: 324617
Diffstat (limited to 'llvm/docs/AMDGPUUsage.rst')
| -rw-r--r-- | llvm/docs/AMDGPUUsage.rst | 38 |
1 files changed, 13 insertions, 25 deletions
diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst index ff22f2c3597..05f1499b702 100644 --- a/llvm/docs/AMDGPUUsage.rst +++ b/llvm/docs/AMDGPUUsage.rst @@ -66,10 +66,6 @@ specify the target triple: ============ ============================================================== *<empty>* Defaults to ``opencl``. ``opencl`` OpenCL compute kernel (see :ref:`amdgpu-opencl`). - ``amdgizcl`` Same as ``opencl`` except a different address space mapping is - used (see :ref:`amdgpu-address-spaces`). - ``amdgiz`` Same as ``opencl`` except a different address space mapping is - used (see :ref:`amdgpu-address-spaces`). ``hcc`` AMD HC language compute kernel (see :ref:`amdgpu-hcc`). ============ ============================================================== @@ -274,30 +270,22 @@ LLVM Address Space number is used throughout LLVM (for example, in LLVM IR). .. table:: Address Space Mapping :name: amdgpu-address-space-mapping-table - ================== ================= ================= ================= ================= + ================== ================= ================= LLVM Address Space Memory Space - ------------------ ----------------------------------------------------------------------- - \ Current Default amdgiz/amdgizcl hcc Future Default - ================== ================= ================= ================= ================= - 0 Private (Scratch) Generic (Flat) Generic (Flat) Generic (Flat) - 1 Global Global Global Global - 2 Constant Constant Constant Region (GDS) - 3 Local (group/LDS) Local (group/LDS) Local (group/LDS) Local (group/LDS) - 4 Generic (Flat) Region (GDS) Region (GDS) Constant - 5 Region (GDS) Private (Scratch) Private (Scratch) Private (Scratch) - ================== ================= ================= ================= ================= + ------------------ ----------------------------------- + \ Current Default Future Default + ================== ================= ================= + 0 Generic (Flat) Generic (Flat) + 1 Global Global + 2 Constant Region (GDS) + 3 Local (group/LDS) Local (group/LDS) + 4 Region (GDS) Constant + 5 Private (Scratch) Private (Scratch) + ================== ================= ================= Current Default - This is the current default address space mapping used for all languages - except hcc. This will shortly be deprecated. - -amdgiz/amdgizcl - This is the current address space mapping used when ``amdgiz`` or ``amdgizcl`` - is specified as the target triple environment value. - -hcc - This is the current address space mapping used when ``hcc`` is specified as - the target triple environment value.This will shortly be deprecated. + This is the current default address space mapping used for all languages. + This will shortly be deprecated. Future Default This will shortly be the only address space mapping for all languages using |

