From 9fd137a3a957af01623779bce6054cde8caf5fdb Mon Sep 17 00:00:00 2001 From: Tony Tye Date: Tue, 12 Dec 2017 05:47:00 +0000 Subject: [PATCH] [AMDGPU] Rename Bonaire target to be gfx704; remove gfx800 and make Iceland and Tonga both use gfx802; update target feature handling Correct committed version to match intended accepted review D40051 id=123417 - Rename Bonaire target to be gfx704. - Eliminate gfx800 and make Iceland and Tonga both use gfx802 as they use the same code. - List target features supported by each processor in the processor table together with the default value. - Add xnack flag to e_flags. - Remove xnack from kernel metadata and kernel descriptor since it is now a whole code object property. Differential Revision: https://reviews.llvm.org/D40051 llvm-svn: 320457 --- docs/AMDGPUUsage.rst | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/docs/AMDGPUUsage.rst b/docs/AMDGPUUsage.rst index 3fffe54d802..439089348ff 100644 --- a/docs/AMDGPUUsage.rst +++ b/docs/AMDGPUUsage.rst @@ -156,9 +156,6 @@ names from both the *Processor* and *Alternative Processor* can be used. - R7 260X **GCN GFX8 (Volcanic Islands (VI))** [AMD-GCN-GFX8]_ ----------------------------------------------------------------------------------- - ``gfx800`` - ``iceland`` ``amdgcn`` dGPU - xnack .. TODO - [off] Add product - names. ``gfx801`` - ``carrizo`` ``amdgcn`` APU - xnack - A6-8500P [on] - Pro A6-8500B - A8-8600P @@ -178,7 +175,7 @@ names from both the *Processor* and *Alternative Processor* can be used. [on] - A6-9210 - A9-9410 ``gfx802`` - ``tonga`` ``amdgcn`` dGPU - xnack ROCm - FirePro S7150 - [off] - FirePro S7100 + - ``iceland`` [off] - FirePro S7100 - FirePro W7100 - Radeon R285 - Radeon R9 380 @@ -564,13 +561,12 @@ The AMDGPU backend uses the following ELF header: ``EF_AMDGPU_MACH_AMDGCN_GFX702`` 36 ``gfx702`` ``EF_AMDGPU_MACH_AMDGCN_GFX703`` 37 ``gfx703`` ``EF_AMDGPU_MACH_AMDGCN_GFX704`` 38 ``gfx704`` - ``EF_AMDGPU_MACH_AMDGCN_GFX800`` 39 ``gfx800`` - ``EF_AMDGPU_MACH_AMDGCN_GFX801`` 40 ``gfx801`` - ``EF_AMDGPU_MACH_AMDGCN_GFX802`` 41 ``gfx802`` - ``EF_AMDGPU_MACH_AMDGCN_GFX803`` 42 ``gfx803`` - ``EF_AMDGPU_MACH_AMDGCN_GFX810`` 43 ``gfx810`` - ``EF_AMDGPU_MACH_AMDGCN_GFX900`` 44 ``gfx900`` - ``EF_AMDGPU_MACH_AMDGCN_GFX902`` 45 ``gfx902`` + ``EF_AMDGPU_MACH_AMDGCN_GFX801`` 39 ``gfx801`` + ``EF_AMDGPU_MACH_AMDGCN_GFX802`` 40 ``gfx802`` + ``EF_AMDGPU_MACH_AMDGCN_GFX803`` 41 ``gfx803`` + ``EF_AMDGPU_MACH_AMDGCN_GFX810`` 42 ``gfx810`` + ``EF_AMDGPU_MACH_AMDGCN_GFX900`` 43 ``gfx900`` + ``EF_AMDGPU_MACH_AMDGCN_GFX902`` 44 ``gfx902`` ================================= ========== ============================= Sections