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 13fca3c98df4722031902da3d443962bb9453542
Author: Tor Lillqvist <t...@collabora.com>
Date:   Wed Jan 7 13:52:50 2015 +0200

    Let's try a higher limit
    
    Probably the overhead in copmpiling an OpenCL kernel is relatively high, so
    require a larger data size for OpenCL to be used.
    
    Change-Id: I34a3ade98dbd10e7daeddf4a55cfdb2a49a8cf09

diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs 
b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
index 832c795..ecab65a 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>100</value>
+          <value>1000</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 3e00b05..c158821 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 = 1000;
 
     // Keep in order of opcode value, is that clearest? (Random order,
     // at least, would make no sense at all.)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to