Only enable HIP for Vega20 on non-ROCm platforms

SWDEV-245906

All asics will still be supported for developer builds.

Change-Id: I0eac2246162d133fe63449c200d996fe05bd51bd
This commit is contained in:
Vlad Sytchenko
2020-07-27 13:08:01 -04:00
rodzic e793de2ffa
commit 24c1c48db7
+5
Wyświetl plik
@@ -296,6 +296,11 @@ bool NullDevice::init() {
bool NullDevice::create(Pal::AsicRevision asicRevision, Pal::GfxIpLevel ipLevel,
uint xNACKSupported) {
if (IS_HIP && IS_MAINLINE &&
(asicRevision != Pal::AsicRevision::Vega20)) {
return false;
}
online_ = false;
Pal::DeviceProperties properties = {};