Add support for gfx1032.

Change-Id: I36f93a6b61e74cf17aac1a05d7c1d4ba6369fcc9


[ROCm/ROCR-Runtime commit: d39ae13420]
This commit is contained in:
Sean Keely
2021-01-05 17:28:19 -06:00
parent 14dd324d2f
commit 0639b53e31
6 changed files with 10 additions and 3 deletions
@@ -98,6 +98,7 @@ namespace loader {
gfx1012.handle = 1012;
gfx1030.handle = 1030;
gfx1031.handle = 1031;
gfx1032.handle = 1032;
}
hsa_isa_t OfflineLoaderContext::IsaFromName(const char *name)
@@ -157,6 +158,8 @@ namespace loader {
return gfx1030;
} else if (sname == "AMD:AMDGPU:10:3:1") {
return gfx1031;
} else if (sname == "AMD:AMDGPU:10:3:2") {
return gfx1032;
}
// The offline loader only supports code object v2 which only supports
@@ -58,7 +58,7 @@ namespace loader {
hsa_isa_t gfx700, gfx701, gfx702, gfx703, gfx704, gfx705;
hsa_isa_t gfx800, gfx801, gfx802, gfx803, gfx804, gfx805, gfx810;
hsa_isa_t gfx900, gfx901, gfx902, gfx904, gfx906, gfx908;
hsa_isa_t gfx1010, gfx1011, gfx1012, gfx1030, gfx1031;
hsa_isa_t gfx1010, gfx1011, gfx1012, gfx1030, gfx1031, gfx1032;
std::ostream& out;
typedef std::set<void*> PointerSet;
PointerSet pointers;