diff options
author | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-22 11:42:14 -0600 |
---|---|---|
committer | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-22 11:50:09 -0600 |
commit | 8b9c106064b6899e4bb4a86efb8906eef758c5bf (patch) | |
tree | 01316098a25536d1b5c2868a354a7637283baa4d /sc | |
parent | 77f9a184bcae79abd0377e199918e282b7b376f0 (diff) |
GPU Calc: fix a parallel COUNT() problem when input vector size > 512
AMLOEXT-243 FIX
Change-Id: I1a356f9a591c1f5a99d2675065b63a7673217ac6
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 78437482a715..b0bb011464c1 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -695,7 +695,7 @@ public: ss << " if (lidx == 0)\n"; ss << " current_result ="; if (dynamic_cast<OpCount*>(mpCodeGen.get())) - ss << "shm_buf[0]"; + ss << "current_result + shm_buf[0]"; else ss << mpCodeGen->Gen2("current_result", "shm_buf[0]"); ss << ";\n"; |