diff options
author | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-18 00:24:31 -0600 |
---|---|---|
committer | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-18 00:24:31 -0600 |
commit | d00e0bcd60304835f5c10a71b22b6a4f483dd6ec (patch) | |
tree | 978cf03bad8005dabcee9f62ed122f00e9d11473 | |
parent | 547750e8c2d001f92e3e303ebfda9b395538e741 (diff) |
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
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index b5fedc6f4fee..d2a6d8b22e1f 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())) { |