diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-30 15:40:54 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-06 11:49:23 +0200 |
commit | 1a41d97fc65697e5d1602490a89e2cc84375f482 (patch) | |
tree | b7d0af0ca9d28b77af76aae17334ddeef459df6d /sc/inc | |
parent | a1a9f0e5c4f7d7331072854250a7eb9046e4f111 (diff) |
Add more detailled configuration for OpenCL use, and make OpenCL default to on
Add a boolean whether to use OpenCL for just a subset of functions, and a
numberical minimum length of a cell group for OpenCL to be used. No
functionality or GUI for this yet implemented, just the setting fields.
Make whether to use OpenCL default to "on". Sure, this breaks stuff right and
left for now. Fixes and workarounds later.
Change-Id: I09b7aff9c7d1845df2bf01f09616e646373f030c
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/calcconfig.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/calcconfig.hxx b/sc/inc/calcconfig.hxx index 33d31c749a7f..277d27a16219 100644 --- a/sc/inc/calcconfig.hxx +++ b/sc/inc/calcconfig.hxx @@ -40,9 +40,12 @@ struct SC_DLLPUBLIC ScCalcConfig formula::FormulaGrammar::AddressConvention meStringRefAddressSyntax; StringConversion meStringConversion; bool mbEmptyStringAsZero:1; + bool mbOpenCLEnabled:1; + bool mbOpenCLSubsetOnly:1; bool mbOpenCLAutoSelect:1; OUString maOpenCLDevice; + int mnOpenCLMinimumFormulaGroupSize; ScCalcConfig(); |