diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-09-14 16:07:42 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-09-19 17:03:19 +0200 |
commit | 5cc6c3fd4fd4610d26576841bcd694bf2f8231a4 (patch) | |
tree | a840e2c7dac7fe793c6fd6ef129736381092d9f6 /sc/inc | |
parent | f70fffc7187162a9f1e88bb5cd12b05b5d67bc8d (diff) |
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')
-rw-r--r-- | sc/inc/formulagroup.hxx | 1 |
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; |