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

검색과 일치하는 파일 없음

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