SWDEV-1 - Disable OpenCL support for gfx8 in ROCm path

Change-Id: Ie1e0c0d6273edf6b734909447c2a08252cba305b


[ROCm/clr commit: 7f83bcdb45]
This commit is contained in:
Jason Tang
2021-08-30 11:44:24 -04:00
parent eef9777c7f
commit d1a3931d68
4 changed files with 6 additions and 16 deletions
@@ -606,14 +606,6 @@ bool Device::create() {
return false;
}
#if ROCCLR_DISABLE_PREVEGA
if (isa->versionMajor() < 9) {
LogPrintfError("Disabled HSA device %s (PCI ID %x) for ISA %s", agent_name, pciDeviceId_,
isa_name.data());
return false;
}
#endif
if (HSA_STATUS_SUCCESS !=
hsa_agent_get_info(_bkendDevice, HSA_AGENT_INFO_PROFILE, &agent_profile_)) {
LogPrintfError("Unable to get profile for HSA device %s (PCI ID %x)", agent_name, pciDeviceId_);