summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-12 18:19:39 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-12 20:42:16 +0200
commit0694e8313877ca433d226c753301a5a90364b3a5 (patch)
tree0e7f065eaf787d0de55478151a61123afed83821
parentb0786565dbe15fed3b58d00138a5788d5c22e0c1 (diff)
Increase the formula group size limit for OpenCL to be considered to 10000
Also changed the description to match the meaning (after 2021275f8fc33d9917d5fef58959a95da1dc7e6f). Change-Id: Ide4b4f094495c178252c3167d52012f46f26b025
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Calc.xcs4
-rw-r--r--sc/source/core/tool/calcconfig.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
index 3ec97de049e7..51b9c64562cc 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
@@ -1361,9 +1361,9 @@
<prop oor:name="OpenCLMinimumDataSize" oor:type="xs:int">
<!-- UIHints: Tools - Options Spreadsheet Formula -->
<info>
- <desc>An approximate lower limit on the number of data cells a spreadsheet formula should use for OpenCL to be considered.</desc>
+ <desc>Lower limit on the size of a formula group for OpenCL to be considered.</desc>
</info>
- <value>100</value>
+ <value>10000</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 1cbb3f52e1ba..2b97929199d7 100644
--- a/sc/source/core/tool/calcconfig.cxx
+++ b/sc/source/core/tool/calcconfig.cxx
@@ -37,7 +37,7 @@ void ScCalcConfig::setOpenCLConfigToDefault()
// Crazy.
mbOpenCLSubsetOnly = true;
mbOpenCLAutoSelect = true;
- mnOpenCLMinimumFormulaGroupSize = 100;
+ mnOpenCLMinimumFormulaGroupSize = 10000;
// Keep in order of opcode value, is that clearest? (Random order,
// at least, would make no sense at all.)