SWDEV-263539 - Support new Target ID in GSL path

Change-Id: I6827de93b10b312a1b78b69f5cf7d5b3d5bb1e31
This commit is contained in:
Jason Tang
2020-12-11 09:20:29 -05:00
zatwierdzone przez Jason Tang
rodzic 88bd851f72
commit eef8405041
2 zmienionych plików z 13 dodań i 11 usunięć
+4 -2
Wyświetl plik
@@ -1838,6 +1838,7 @@ hsa_isa_t ORCAHSALoaderContext::IsaFromName(const char* name) {
return isa;
}
LogPrintfError("Couldn't find: %s!", name);
return isa;
}
@@ -1847,10 +1848,11 @@ bool ORCAHSALoaderContext::IsaSupportedByAgent(hsa_agent_t agent, hsa_isa_t isa)
LogError("Unsupported gfxip version");
return false;
case gfx700:
return isa.handle == gfx700;
case gfx701:
case gfx702:
// gfx701 only differs from gfx700 by faster fp operations and can be loaded on either device.
return isa.handle == gfx700 || isa.handle == gfx701;
// gfx701 only differs from gfx702 by faster fp operations and can be loaded on either device.
return isa.handle == gfx701 || isa.handle == gfx702;
case gfx800:
switch (program_->dev().hwInfo()->machine_) {
case ED_ATI_CAL_MACHINE_ICELAND_ISA: