Add gfx10.3.3 ISA support for Van Gogh

This patch is to let ROCr recognize new gfx10.3.3 ISA.

Change-Id: Ied23eee2752e14c19c8c0a6d7789fded9940e31e
Signed-off-by: Huang Rui <ray.huang@amd.com>
This commit is contained in:
Huang Rui
2020-05-13 19:41:08 +08:00
committed by Ray Huang
parent 8aec53969f
commit feeb2f62e2
5 changed files with 9 additions and 2 deletions
+3
View File
@@ -99,6 +99,7 @@ namespace loader {
gfx1030.handle = 1030;
gfx1031.handle = 1031;
gfx1032.handle = 1032;
gfx1033.handle = 1033;
}
hsa_isa_t OfflineLoaderContext::IsaFromName(const char *name)
@@ -148,6 +149,8 @@ namespace loader {
return gfx1031;
} else if (sname == "AMD:AMDGPU:10:3:2") {
return gfx1032;
} else if (sname == "AMD:AMDGPU:10:3:3") {
return gfx1033;
}
// The offline loader only supports code object v2 which only supports
+1 -1
View File
@@ -58,7 +58,7 @@ namespace loader {
hsa_isa_t gfx700, gfx701, gfx702, gfx703, gfx704, gfx705;
hsa_isa_t gfx801, gfx802, gfx803, gfx805, gfx810;
hsa_isa_t gfx900, gfx902, gfx904, gfx906, gfx908;
hsa_isa_t gfx1010, gfx1011, gfx1012, gfx1030, gfx1031, gfx1032;
hsa_isa_t gfx1010, gfx1011, gfx1012, gfx1030, gfx1031, gfx1032, gfx1033;
std::ostream& out;
typedef std::set<void*> PointerSet;
PointerSet pointers;