[PATCH] D50843: AMDGPU: Correct errors in device table

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 16 07:35:22 PDT 2018


arsenm created this revision.
arsenm added reviewers: yaxunl, kzhuravl.
Herald added subscribers: t-tye, tpr, dstuttard, nhaehnle, wdng.

Avoids regressions in future commit when the device name is round tripped through the table


https://reviews.llvm.org/D50843

Files:
  lib/Basic/Targets/AMDGPU.h


Index: lib/Basic/Targets/AMDGPU.h
===================================================================
--- lib/Basic/Targets/AMDGPU.h
+++ lib/Basic/Targets/AMDGPU.h
@@ -125,7 +125,7 @@
     {{"sumo"},    {"sumo"},    GK_SUMO,    false, false, false, false, false, false},
     {{"sumo2"},   {"sumo"},    GK_SUMO,    false, false, false, false, false, false},
     {{"barts"},   {"barts"},   GK_BARTS,   false, false, false, false, false, false},
-    {{"caicos"},  {"caicos"},  GK_BARTS,   false, false, false, false, false, false},
+    {{"caicos"},  {"caicos"},  GK_CAICOS,  false, false, false, false, false, false},
     {{"aruba"},   {"cayman"},  GK_CAYMAN,  true,  false, false, false, false, false},
     {{"cayman"},  {"cayman"},  GK_CAYMAN,  true,  false, false, false, false, false},
     {{"turks"},   {"turks"},   GK_TURKS,   false, false, false, false, false, false},
@@ -163,7 +163,7 @@
     {{"gfx810"},    {"gfx810"},  GK_GFX810,  true, false, true,  true, true, true},
     {{"stoney"},    {"gfx810"},  GK_GFX810,  true, false, true,  true, true, true},
     {{"gfx900"},    {"gfx900"},  GK_GFX900,  true, true,  true,  true, true, true},
-    {{"gfx902"},    {"gfx902"},  GK_GFX900,  true, true,  true,  true, true, true},
+    {{"gfx902"},    {"gfx902"},  GK_GFX902,  true, true,  true,  true, true, true},
     {{"gfx904"},    {"gfx904"},  GK_GFX904,  true, true,  true,  true, true, true},
     {{"gfx906"},    {"gfx906"},  GK_GFX906,  true, true,  true,  true, true, true},
   };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50843.161026.patch
Type: text/x-patch
Size: 1501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180816/94f81c25/attachment.bin>


More information about the cfe-commits mailing list