Add support for gfx909 and gfx90c

Change-Id: I88158789cdda44a173e3ca26d2c96b8e0ea0e221


[ROCm/ROCR-Runtime commit: a97c14abea]
This commit is contained in:
Tony Tye
2021-04-08 16:55:07 +00:00
parent 2b25548eb0
commit e20cccb6e4
9 ha cambiato i file con 44 aggiunte e 18 eliminazioni
@@ -93,7 +93,9 @@ namespace loader {
gfx904.handle = 0x904;
gfx906.handle = 0x906;
gfx908.handle = 0x908;
gfx909.handle = 0x909;
gfx90a.handle = 0x90a;
gfx90c.handle = 0x90c;
gfx1010.handle = 0x1010;
gfx1011.handle = 0x1011;
gfx1012.handle = 0x1012;
@@ -138,8 +140,12 @@ namespace loader {
return gfx906;
} else if (sname == "AMD:AMDGPU:9:0:8") {
return gfx908;
} else if (sname == "AMD:AMDGPU:9:0:A") {
} else if (sname == "AMD:AMDGPU:9:0:9") {
return gfx909;
} else if (sname == "AMD:AMDGPU:9:0:10") {
return gfx90a;
} else if (sname == "AMD:AMDGPU:9:0:12") {
return gfx90c;
} else if (sname == "AMD:AMDGPU:10:1:0") {
return gfx1010;
} else if (sname == "AMD:AMDGPU:10:1:1") {
@@ -57,7 +57,7 @@ namespace loader {
hsa_isa_t invalid;
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, gfx90a;
hsa_isa_t gfx900, gfx902, gfx904, gfx906, gfx908, gfx909, gfx90a, gfx90c;
hsa_isa_t gfx1010, gfx1011, gfx1012, gfx1030, gfx1031, gfx1032, gfx1033;
std::ostream& out;
typedef std::set<void*> PointerSet;