SWDEV-269147 - Disable ROC offline devices for now

Change-Id: I520f3c8e56db91cbc384d08beba4e0bd4626941d
This commit is contained in:
Jason Tang
2021-01-23 11:20:15 -05:00
parent 29596ac3be
commit 1e08a3e0cd
+4
View File
@@ -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);