[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - sc/source
I-Jui Sung (Ray)
ray at multicorewareinc.com
Sun Nov 17 23:21:52 PST 2013
sc/source/core/opencl/formulagroupcl.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 47eea0af3e93eeced7280f97545188d92fe94480
Author: I-Jui (Ray) Sung <ray at multicorewareinc.com>
Date: Mon Nov 18 00:24:31 2013 -0600
GPU Calc: fall back to SW interp for unsupported double vector variants
For cases like DoubleVectorRef::GetArrays() containing more than one array.
Change-Id: I5111a731301bb43b8dbcd1156d964dca231fe840
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 9a97234..1594075 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -486,6 +486,9 @@ public:
std::stringstream &ss, bool &needBody)
{
assert(mpDVR);
+ // Do not handle horizontal double vectors yet
+ if (mpDVR->GetArrays().size() > 1)
+ throw Unhandled();
size_t nCurWindowSize = mpDVR->GetRefRowSize();
if (dynamic_cast<OpSum*>(mpCodeGen.get()))
{
More information about the Libreoffice-commits
mailing list