Kaydet (Commit) 7bb7539c authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add VLOOKUP to the set of opcodes that we trust the OpenCL implementation for

Change-Id: I937ec900044bbc6027ff8d4ae37f2f275dde974f
üst 41a60940
...@@ -1373,7 +1373,7 @@ ...@@ -1373,7 +1373,7 @@
true, and a formula contains only these operators and true, and a formula contains only these operators and
functions, it might be calculated using OpenCL.</desc> functions, it might be calculated using OpenCL.</desc>
</info> </info>
<value>+;-;*;/;RAND;SIN;COS;TAN;ATAN;EXP;LN;SQRT;NORMSDIST;NORMSINV;ROUND;POWER;SUMPRODUCT;MIN;MAX;SUM;PRODUCT;AVERAGE;COUNT;VAR;NORMDIST;CORREL;COVAR;PEARSON;SLOPE;SUMIFS</value> <value>+;-;*;/;RAND;SIN;COS;TAN;ATAN;EXP;LN;SQRT;NORMSDIST;NORMSINV;ROUND;POWER;SUMPRODUCT;MIN;MAX;SUM;PRODUCT;AVERAGE;COUNT;VAR;NORMDIST;VLOOKUP;CORREL;COVAR;PEARSON;SLOPE;SUMIFS</value>
</prop> </prop>
<prop oor:name="OpenCLAutoSelect" oor:type="xs:boolean" oor:nillable="false"> <prop oor:name="OpenCLAutoSelect" oor:type="xs:boolean" oor:nillable="false">
<!-- UIHints: Tools - Options Spreadsheet Formula --> <!-- UIHints: Tools - Options Spreadsheet Formula -->
......
...@@ -67,6 +67,7 @@ void ScCalcConfig::setOpenCLConfigToDefault() ...@@ -67,6 +67,7 @@ void ScCalcConfig::setOpenCLConfigToDefault()
maOpenCLSubsetOpCodes.insert(ocCount); maOpenCLSubsetOpCodes.insert(ocCount);
maOpenCLSubsetOpCodes.insert(ocVar); maOpenCLSubsetOpCodes.insert(ocVar);
maOpenCLSubsetOpCodes.insert(ocNormDist); maOpenCLSubsetOpCodes.insert(ocNormDist);
maOpenCLSubsetOpCodes.insert(ocVLookup);
maOpenCLSubsetOpCodes.insert(ocCorrel); maOpenCLSubsetOpCodes.insert(ocCorrel);
maOpenCLSubsetOpCodes.insert(ocCovar); maOpenCLSubsetOpCodes.insert(ocCovar);
maOpenCLSubsetOpCodes.insert(ocPearson); maOpenCLSubsetOpCodes.insert(ocPearson);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment