Only enable HIP for Vega20 on non-ROCm platforms

SWDEV-245906

All asics will still be supported for developer builds.

Change-Id: I0eac2246162d133fe63449c200d996fe05bd51bd


[ROCm/clr commit: 24c1c48db7]
이 커밋은 다음에 포함됨:
Vlad Sytchenko가 2020-07-27 13:09:58 -04:00를 커밋했습니다
1 부모 f8c00384fd
커밋 c98a71dc9e
1 파일이 변경됨
+5
+5
파일 보기
@@ -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 = {};