summaryrefslogtreecommitdiff
path: root/sc/inc/formulagroup.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-10-29 12:43:49 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-10-29 17:00:30 -0400
commitf8b95040d87502dc47e7c09d285ef04e1f929b98 (patch)
tree97ac531cb41ad193a90eda816b249ae7bb2ddff2 /sc/inc/formulagroup.hxx
parent9247a100e3aa0c1ebd81254683eef2311a516a17 (diff)
Correct way to try to enable OpenCL in unit test.
Change-Id: Idc4014cc760207a723c5af88fc348a1881e8b1e1
Diffstat (limited to 'sc/inc/formulagroup.hxx')
-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 1691e8dfd45d..24e26d9adf9d 100644
--- a/sc/inc/formulagroup.hxx
+++ b/sc/inc/formulagroup.hxx
@@ -90,8 +90,9 @@ class SC_DLLPUBLIC FormulaGroupInterpreter
public:
static FormulaGroupInterpreter *getStatic();
static void fillOpenCLInfo(std::vector<OpenclPlatformInfo>& rPlatforms);
- static void switchOpenCLDevice(const OUString& rDeviceId, bool bAutoSelect);
+ static bool switchOpenCLDevice(const OUString& rDeviceId, bool bAutoSelect);
static void compileOpenCLKernels();
+ static void enableOpenCL(bool bEnable);
virtual ScMatrixRef inverseMatrix(const ScMatrix& rMat) = 0;
virtual bool interpret(ScDocument& rDoc, const ScAddress& rTopPos, const ScFormulaCellGroupRef& xGroup, ScTokenArray& rCode) = 0;