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
此提交包含在:
foreman
2015-03-04 18:02:32 -05:00
父節點 ea4b4650c5
當前提交 bec936b08b
共有 3 個檔案被更改,包括 3 行新增 和 3 行删除
+1 -1
查看文件
@@ -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);