P4 to Git Change 1360479 by rerrabol@RocmOnLC on 2017/01/10 17:32:55

SWDEV-108854 - Support initialization of SGPR and VGPR usage from kernel header object. Changes to fix issue reported by SWDEV-108854

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#18 edit


[ROCm/clr commit: a3c0b6525f]
This commit is contained in:
foreman
2017-01-10 17:46:11 -05:00
parent eed01939b7
commit d5f37b53ae
2 changed files with 20 additions and 2 deletions
@@ -285,6 +285,10 @@ bool NullDevice::init() {
if (!initCompiler(offlineDevice_)){
return false;
}
// Return without initializing offline device list
return true;
#if !defined(WITH_LIGHTNING_COMPILER)
//If there is an HSA enabled device online then skip any offline device
std::vector<Device*> devices;