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

Add NORMSDIST to the default OpenCL use opcode subset

Change-Id: I7ee56f06e8e50180e31c01253c9100c11b485c0d
üst 567f5119
...@@ -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;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;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 -->
......
...@@ -53,6 +53,7 @@ void ScCalcConfig::setOpenCLConfigToDefault() ...@@ -53,6 +53,7 @@ void ScCalcConfig::setOpenCLConfigToDefault()
maOpenCLSubsetOpCodes.insert(ocExp); maOpenCLSubsetOpCodes.insert(ocExp);
maOpenCLSubsetOpCodes.insert(ocLn); maOpenCLSubsetOpCodes.insert(ocLn);
maOpenCLSubsetOpCodes.insert(ocSqrt); maOpenCLSubsetOpCodes.insert(ocSqrt);
maOpenCLSubsetOpCodes.insert(ocStdNormDist);
maOpenCLSubsetOpCodes.insert(ocSNormInv); maOpenCLSubsetOpCodes.insert(ocSNormInv);
maOpenCLSubsetOpCodes.insert(ocRound); maOpenCLSubsetOpCodes.insert(ocRound);
maOpenCLSubsetOpCodes.insert(ocPower); maOpenCLSubsetOpCodes.insert(ocPower);
......
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