SWDEV-269983 - Re-enable OpenCL Offline Compilation in ROCr path

Change-Id: I160c56a6964219c56c85ebeb5f475be535c39022
This commit is contained in:
Jason Tang
2021-05-12 17:10:43 -04:00
committed by Jason Tang
parent 9b3072ae12
commit ed923eb12e
-4
View File
@@ -277,10 +277,6 @@ 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);