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:
@@ -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 = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user