P4 to Git Change 1052889 by weizhang@msdnweizhang-opencl on 2014/07/07 22:09:14
EPR #397491 - Disable platform atomics temporarily until AFE which will be done on July 8. Modify the flag of GPU_ENABLE_HIGH_PERFORMANCE_STATE to use it for platform atomics because GPU_ENABLE_HIGH_PERFORMANCE_STATE is not necessary for high clock anymore. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#271 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#206 edit
This commit is contained in:
@@ -417,7 +417,7 @@ Settings::create(
|
||||
disablePersistent_ = true;
|
||||
}
|
||||
|
||||
if (calAttr.priSupport) {
|
||||
if (calAttr.priSupport && ENABLE_PLATFORM_ATOMICS) {
|
||||
svmAtomics_ = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -160,8 +160,8 @@ release(bool, HSA_LOCAL_MEMORY_ENABLE, false, \
|
||||
"Enable HSA device local memory usage") \
|
||||
release(bool, HSA_ENABLE_ATOMICS_32B, false, \
|
||||
"1 = Enable SVM atomics in 32 bits (HSA backend-only). Any other value keeps then disabled.") \
|
||||
release_on_stg(bool, GPU_ENABLE_HIGH_PERFORMANCE_STATE, false, \
|
||||
"Enable high performance state")
|
||||
release(bool, ENABLE_PLATFORM_ATOMICS, false, \
|
||||
"Enable platform atomics")
|
||||
|
||||
namespace amd {
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user