diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-18 14:49:50 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-18 14:49:50 +0200 |
commit | a81a24b6a33fca9a750077d9160ebb8316b2fb26 (patch) | |
tree | 795105f4ce7cb7cfba5e5c54ddc348e2e760d815 | |
parent | 9dab243b69fa89766f7952923a409b32aa693f67 (diff) |
Bump the minimum group size for OpenCL to 100
Change-Id: Id877823d760236bb731900711e3260a29c5c6871
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Calc.xcs | 2 | ||||
-rw-r--r-- | sc/source/core/tool/calcconfig.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs index b31a2e1af792..425f9b80e67f 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs @@ -1363,7 +1363,7 @@ <info> <desc>An approximate lower limit on the number of data cells a spreadsheet formula should use for OpenCL to be considered.</desc> </info> - <value>20</value> + <value>100</value> </prop> <prop oor:name="OpenCLSubsetOpCodes" oor:type="xs:string" oor:nillable="false"> <!-- UIHints: Tools - Options Spreadsheet Formula --> diff --git a/sc/source/core/tool/calcconfig.cxx b/sc/source/core/tool/calcconfig.cxx index a8527ad16816..0ba4cdfb7978 100644 --- a/sc/source/core/tool/calcconfig.cxx +++ b/sc/source/core/tool/calcconfig.cxx @@ -38,7 +38,7 @@ void ScCalcConfig::setOpenCLConfigToDefault() mbOpenCLEnabled = true; mbOpenCLSubsetOnly = true; mbOpenCLAutoSelect = true; - mnOpenCLMinimumFormulaGroupSize = 20; + mnOpenCLMinimumFormulaGroupSize = 100; maOpenCLSubsetOpCodes.insert(ocRandom); maOpenCLSubsetOpCodes.insert(ocSin); |