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


[ROCm/clr commit: bec936b08b]
这个提交包含在:
foreman 于 2015-03-04 18:02:32 -05:00 提交
1 父节点 158bd99911
当前提交 aaa9d7455b
3 个文件已更改
+3 -3

没有与搜索条件相匹配的文件

@@ -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);