Add gfx1031 support

Change-Id: I855f7fe8d096331d0c1da10b10adf6b1e75a527f
This commit is contained in:
Chris Freehill authored and Sean Keely committed 2020-09-10 11:06:58 -04:00
1 parent 2a0c6774fb
commit 4944c74189
9 files changed
+18 -4

No files matched your search

+3
View File
@@ -97,6 +97,7 @@ namespace loader {
gfx1011.handle = 1011;
gfx1012.handle = 1012;
gfx1030.handle = 1030;
gfx1031.handle = 1031;
}
hsa_isa_t OfflineLoaderContext::IsaFromName(const char *name)
@@ -136,6 +137,8 @@ namespace loader {
return gfx1012;
} else if (sname == "AMD:AMDGPU:10:3:0") {
return gfx1030;
} else if (sname == "AMD:AMDGPU:10:3:1") {
return gfx1031;
}
assert(0);
+1 -1
View File
@@ -57,7 +57,7 @@ namespace loader {
hsa_isa_t invalid;
hsa_isa_t gfx700, gfx701, gfx800, gfx801, gfx802, gfx803, gfx804, gfx810;
hsa_isa_t gfx900, gfx901, gfx902, gfx903, gfx908;
hsa_isa_t gfx1010, gfx1011, gfx1012, gfx1030;
hsa_isa_t gfx1010, gfx1011, gfx1012, gfx1030, gfx1031;
std::ostream& out;
typedef std::set<void*> PointerSet;
PointerSet pointers;