SWDEV-269147 - Disable ROC offline devices for now

Change-Id: I520f3c8e56db91cbc384d08beba4e0bd4626941d
Цей коміт міститься в:
Jason Tang committed 2021-01-23 14:48:07 -05:00
1 джерело 29596ac3be
коміт 1e08a3e0cd
1 file changed
+4
+4
Переглянути файл
@@ -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);