summaryrefslogtreecommitdiffstats
path: root/sc/inc/formulagroup.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-14 16:07:42 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-19 17:03:19 +0200
commit5cc6c3fd4fd4610d26576841bcd694bf2f8231a4 (patch)
treea840e2c7dac7fe793c6fd6ef129736381092d9f6 /sc/inc/formulagroup.hxx
parentimplement method for switching opencl devices (diff)
downloadcore-5cc6c3fd4fd4610d26576841bcd694bf2f8231a4.tar.gz
core-5cc6c3fd4fd4610d26576841bcd694bf2f8231a4.zip
add a way to change the opencl device
We also use this method now to init OpenCL. It respects the auto select settings and will later take care of choosing the stored opencl device Change-Id: Ib3710851ac5f8d50796e4bba3b25ade77b36d204
Diffstat (limited to 'sc/inc/formulagroup.hxx')
-rw-r--r--sc/inc/formulagroup.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx
index ef9adbbf74ea..bfd4bbc5e543 100644
--- a/sc/inc/formulagroup.hxx
+++ b/sc/inc/formulagroup.hxx
@@ -55,6 +55,7 @@ class SC_DLLPUBLIC FormulaGroupInterpreter
public:
static FormulaGroupInterpreter *getStatic();
static void fillOpenCLInfo(std::vector<OpenclPlatformInfo>& rPlatforms);
+ static void switchOpenCLDevice(const OUString& rDeviceId, bool bAutoSelect);
virtual ScMatrixRef inverseMatrix(const ScMatrix& rMat) = 0;
virtual bool interpret(ScDocument& rDoc, const ScAddress& rTopPos, const ScFormulaCellGroupRef& xGroup, ScTokenArray& rCode) = 0;