Initial gfx908 updates

Change-Id: I3d6307d6613a38861a95561b9ac68abaa5964b48
This commit is contained in:
Chris Freehill
2018-11-01 08:02:27 -05:00
parent 0721dfd2e7
commit 447a30e985
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -216,6 +216,7 @@ const IsaRegistry::IsaMap IsaRegistry::GetSupportedIsas() {
ISAREG_ENTRY_GEN(9, 0, 4, false, false)
ISAREG_ENTRY_GEN(9, 0, 6, false, false)
ISAREG_ENTRY_GEN(9, 0, 6, false, true )
ISAREG_ENTRY_GEN(9, 0, 8, false, true )
return supported_isas;
}
+3
View File
@@ -91,6 +91,7 @@ namespace loader {
gfx901.handle = 901;
gfx902.handle = 902;
gfx903.handle = 903;
gfx908.handle = 908;
}
hsa_isa_t OfflineLoaderContext::IsaFromName(const char *name)
@@ -120,6 +121,8 @@ namespace loader {
return gfx902;
} else if (sname == "AMD:AMDGPU:9:0:3") {
return gfx903;
} else if (sname == "AMD:AMDGPU:9:0:8") {
return gfx908;
}
assert(0);
+1 -1
View File
@@ -55,7 +55,7 @@ namespace loader {
private:
hsa_isa_t invalid;
hsa_isa_t gfx700, gfx701, gfx800, gfx801, gfx802, gfx803, gfx804, gfx810;
hsa_isa_t gfx900, gfx901, gfx902, gfx903;
hsa_isa_t gfx900, gfx901, gfx902, gfx903, gfx908;
std::ostream& out;
typedef std::set<void*> PointerSet;
PointerSet pointers;