SWDEV-265304 - Disable GFX8 in LinuxPro ROCr build

Change-Id: Ia26bb025a133a4acb255a539a45668975019cc6e
This commit is contained in:
Jason Tang
2021-02-10 18:45:19 -05:00
کامیت شده توسط Jason Tang
والد ac237ac094
کامیت c65be06c4c
3فایلهای تغییر یافته به همراه19 افزوده شده و 0 حذف شده
@@ -630,6 +630,14 @@ 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_);