P4 to Git Change 1350755 by rili@rili-opencl-pal-stg on 2016/12/07 16:50:28

SWDEV-95925 - OCL on PAL, fixed OCL hanging issue when IOMMUv2 is not supported.
	                         When IOMMUv2 is disabled on CZ, sdma 0 should be used, otherwise, asic will hang

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#40 edit


[ROCm/clr commit: 35dcb8e32c]
This commit is contained in:
foreman
2016-12-07 17:04:00 -05:00
والد 94cff309a5
کامیت f2f2e87985
@@ -793,7 +793,8 @@ VirtualGPU::create(bool profiling, uint deviceQueueSize, uint rtCUs,
if (dev().numDMAEngines() != 0) {
uint sdma;
// If only 1 DMA engine is available then use that one
if ((dev().numDMAEngines() < 2) || (idx & 0x1)) {
if ((dev().numDMAEngines() < 2) || (idx & 0x1) ||
(dev().settings().apuSystem_ && !dev().settings().svmFineGrainSystem_)) {
sdma = 0;
}
else {