SWDEV-287332 - Disable NullDevice in HIP

Change-Id: I45c6010d2a3fcd0576438e3c72fbed78dff09b6b


[ROCm/clr commit: 7932b5a562]
This commit is contained in:
Jason Tang
2021-05-25 17:45:06 -04:00
committed by Jason Tang
parent 5d93ef67af
commit e8ca936563
+3 -1
View File
@@ -397,7 +397,9 @@ bool Device::init() {
// abort();
DevLogError("KFD is not installed \n");
}
ret |= roc::NullDevice::init();
if (!amd::IS_HIP) {
ret |= roc::NullDevice::init();
}
}
#endif // WITH_HSA_DEVICE
#if defined(WITH_GPU_DEVICE)