SWDEV-1 - Disable OpenCL support for gfx8 in ROCm path
Change-Id: Ie1e0c0d6273edf6b734909447c2a08252cba305b
Šī revīzija ir iekļauta:
@@ -1303,6 +1303,9 @@ class Isa {
|
||||
|
||||
/// @returns If the ROCm runtime supports the ISA.
|
||||
bool runtimeRocSupported() const {
|
||||
if (!IS_HIP && !ROC_ENABLE_PRE_VEGA && (versionMajor_ == 8)) {
|
||||
return false;
|
||||
}
|
||||
return runtimeRocSupported_;
|
||||
}
|
||||
|
||||
|
||||
@@ -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_);
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user