SWDEV-269147 - Disable ROC offline devices for now

Change-Id: I520f3c8e56db91cbc384d08beba4e0bd4626941d


[ROCm/clr commit: 1e08a3e0cd]
Bu işleme şunda yer alıyor:
Jason Tang
2021-01-23 11:20:15 -05:00
ebeveyn d7d703a7bc
işleme 6fb4972c65
+4
Dosyayı Görüntüle
@@ -302,6 +302,10 @@ bool NullDevice::init() {
return false;
}
// FIXME: ROC offline device support needs to be corrected.
// For now return without initializing offline device list.
return true;
// Create offline devices for all ISAs not already associated with an online
// device. This allows code objects to be compiled for all supported ISAs.
std::vector<Device*> devices = getDevices(CL_DEVICE_TYPE_GPU, false);