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]
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2015-03-04 18:02:32 -05:00
1 rodzic
158bd99911
złożenie
aaa9d7455b
3 plików zmienionych
+3
-3
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -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);
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika