summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx6
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 = ";