diff options
author | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-16 22:37:26 -0600 |
---|---|---|
committer | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-16 23:20:14 -0600 |
commit | ecacefc06a19066881ec0997930f4aa62ed6e4a9 (patch) | |
tree | bed4b5c131c5390c80a8812273faa4dbb47ecc81 /sc/source | |
parent | 08c68cc138a17ee0c0031d0049a18898c926d4ba (diff) |
GPU Calc: temporarily disable parallel sum reduction
Change-Id: I4995f08805ef23d88dc996a54688b5eed9595e3d
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 42a3408634a1..454f03c711d1 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -487,7 +487,8 @@ public: if (!bIsStartFixed && !bIsEndFixed) { // set 100 as a threshold for invoking reduction kernel - if (nCurWindowSize > 100 ) + // Ray: temporarily turn off parallel sum reduction + if (false /*nCurWindowSize > 100*/) { std::string temp = Base::GetName() + "[gid0]"; ss << "tmp = "; @@ -502,7 +503,8 @@ public: if (bIsStartFixed && bIsEndFixed) { // set 100 as a threshold for invoking reduction kernel - if (nCurWindowSize > 100 ) + // Ray: temporarily turn off parallel sum reduction + if (false /* nCurWindowSize > 100 */) { std::string temp = Base::GetName() + "[0]"; ss << "tmp = "; |