summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-03 14:04:12 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-06 11:49:24 +0200
commit8dd9c5c8b1dc6baa50db3c190762cdc92b609049 (patch)
treedf7165ca090ff7aa41bc2bf2e9c901434d9fae07 /sc/inc
parentcd911ddb3f37fc84fdf3c6463b98dcff2074e08c (diff)
Add also parameters for the opcode subset to enableOpenCL()
In CppunitTest_sc_opencl_test we want to explicitly disable subsetting and use OpenCL maximally, to match how it used to work. Change-Id: Ie900adb5fa58b7cd1111169e44efd70d8cac5256
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/formulagroup.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx
index 1ee0249d4799..d507cd51af8e 100644
--- a/sc/inc/formulagroup.hxx
+++ b/sc/inc/formulagroup.hxx
@@ -15,6 +15,7 @@
#include "platforminfo.hxx"
#include "stlalgorithm.hxx"
+#include <formula/opcode.hxx>
#include <svl/sharedstringpool.hxx>
#include <vector>
@@ -122,7 +123,7 @@ class SC_DLLPUBLIC FormulaGroupInterpreter
static FormulaGroupInterpreter *getStatic();
static void fillOpenCLInfo(std::vector<OpenCLPlatformInfo>& rPlatforms);
static bool switchOpenCLDevice(const OUString& rDeviceId, bool bAutoSelect, bool bForceEvaluation = false);
- static void enableOpenCL(bool bEnable);
+ static void enableOpenCL(bool bEnable, bool bEnableCompletely = false, const std::set<OpCodeEnum>& rSubsetToEnable = std::set<OpCodeEnum>());
static void getOpenCLDeviceInfo(sal_Int32& rDeviceId, sal_Int32& rPlatformId);
virtual ScMatrixRef inverseMatrix(const ScMatrix& rMat) = 0;