summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-07 13:52:50 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-07 14:14:34 +0200
commit13fca3c98df4722031902da3d443962bb9453542 (patch)
tree53b1b7ca951503168fac735d033063efcfe950f0 /sc
parent8ab4d2f29fdd2c058db23f6ee7b2200655d4c6f6 (diff)
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
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/calcconfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/calcconfig.cxx b/sc/source/core/tool/calcconfig.cxx
index 3e00b059a213..c1588211a465 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.)