[Libreoffice-commits] core.git: sc/source
I-Jui Sung (Ray)
ray at multicorewareinc.com
Sun Nov 17 22:27:14 PST 2013
sc/source/core/opencl/formulagroupcl.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit d00e0bcd60304835f5c10a71b22b6a4f483dd6ec
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 b5fedc6..d2a6d8b 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