P4 to Git Change 1127440 by weizhang@weizhang-lnx-opencl on 2015/03/04 13:56:00

EPR #413960 - Platform Atomics on CZ.

	   1. Since CMMQS can support 4G atomics range on CZ, the atomics range on KV is reverted to 4G.
	   2. On KV, the platform atomics is implemented by using ATC/IOMMU. But on CZ, it should be implemented without using ATC/IOMMU due to HW changes. So, _svmAtomicsUsingIOMMU is introduced to differentiate the two implementations.
	   3. _priSupport was renamed _svmAtomics due to different implementation on KV vs CZ.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#304 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/cal.h#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#109 edit
Tento commit je obsažen v:
foreman
2015-03-04 18:02:32 -05:00
rodič ea4b4650c5
revize bec936b08b
3 změnil soubory, kde provedl 3 přidání a 3 odebrání
+1 -1
Zobrazit soubor
@@ -419,7 +419,7 @@ Settings::create(
svmFineGrainSystem_ = calAttr.isSVMFineGrainSystem;
svmAtomics_ = (calAttr.priSupport || calAttr.isSVMFineGrainSystem) ? true : false;
svmAtomics_ = (calAttr.svmAtomics || calAttr.isSVMFineGrainSystem) ? true : false;
// Enable some platform extensions
enableExtension(ClAmdDeviceAttributeQuery);