[Libreoffice-commits] core.git: officecfg/registry sc/source

Tor Lillqvist tml at collabora.com
Tue Nov 18 04:50:46 PST 2014


 officecfg/registry/schema/org/openoffice/Office/Calc.xcs |    2 +-
 sc/source/core/tool/calcconfig.cxx                       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a81a24b6a33fca9a750077d9160ebb8316b2fb26
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Nov 18 14:49:50 2014 +0200

    Bump the minimum group size for OpenCL to 100
    
    Change-Id: Id877823d760236bb731900711e3260a29c5c6871

diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
index b31a2e1..425f9b8 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 a8527ad..0ba4cdf 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);


More information about the Libreoffice-commits mailing list