[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter' - sc/source
Michael Meeks
michael.meeks at suse.com
Fri Jul 12 04:43:54 PDT 2013
sc/source/core/opencl/formulagroupcl.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 87f9df77e6d12e711e977e23d758476dfdd2b844
Author: Michael Meeks <michael.meeks at suse.com>
Date: Fri Jul 12 12:45:42 2013 +0100
add SC_SOFTWARE tweak to force sw group interpret.
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 0135c51..5f343d9 100755
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -392,6 +392,11 @@ bool FormulaGroupInterpreterGroundwater::interpret(ScDocument& rDoc, const ScAdd
namespace opencl {
sc::FormulaGroupInterpreter *createFormulaGroupInterpreter()
{
+ if (getenv("SC_SOFTWARE"))
+ {
+ fprintf(stderr, "Create S/W interp\n");
+ return new sc::FormulaGroupInterpreterSoftware();
+ }
if (getenv("SC_GROUNDWATER"))
return new sc::FormulaGroupInterpreterGroundwater();
else
More information about the Libreoffice-commits
mailing list