P4 to Git Change 1294133 by gandryey@gera-w8 on 2016/07/21 17:22:33
SWDEV-95007 - OpenCL on PAL (Windows)
- Disable GPU backend with PAL compilation. It was unintentionally enabled with CL#1293210
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#197 edit
[ROCm/clr commit: 1095516dca]
This commit is contained in:
@@ -184,7 +184,7 @@ Device::init()
|
||||
ret |= roc::NullDevice::init();
|
||||
}
|
||||
#endif // WITH_HSA_DEVICE
|
||||
#if defined(WITH_GPU_DEVICE)
|
||||
#if defined(WITH_GPU_DEVICE) && !defined(WITH_PAL_DEVICE)
|
||||
ret |= DeviceLoad();
|
||||
#endif // WITH_GPU_DEVICE
|
||||
#if defined(WITH_PAL_DEVICE)
|
||||
@@ -213,7 +213,7 @@ Device::tearDown()
|
||||
rocAppProfile_ = NULL;
|
||||
}
|
||||
#endif // WITH_HSA_DEVICE
|
||||
#if defined(WITH_GPU_DEVICE)
|
||||
#if defined(WITH_GPU_DEVICE) && !defined(WITH_PAL_DEVICE)
|
||||
DeviceUnload();
|
||||
#endif // WITH_GPU_DEVICE
|
||||
#if defined(WITH_PAL_DEVICE)
|
||||
|
||||
Reference in New Issue
Block a user