diff options
author | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-27 18:50:50 -0600 |
---|---|---|
committer | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-27 18:50:50 -0600 |
commit | 7dc87e4176443fd6a5b43ac8147c431b28535350 (patch) | |
tree | c87b689f00e5233bbc40399c4bcc68adc38841ea /sc/source/core | |
parent | 975a9e88d4ad9ebad23e377bb6fc4437186c92e8 (diff) |
GPU Calc: using intrinsic isnan() to improve performance and compilation time
Change-Id: I516b0ef0309524b5ecacdee4cd3dd2191c6afb19
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/opencl/formulagroupcl_public.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/formulagroupcl_public.hxx b/sc/source/core/opencl/formulagroupcl_public.hxx index ac02e3352ff9..49510e815e78 100644 --- a/sc/source/core/opencl/formulagroupcl_public.hxx +++ b/sc/source/core/opencl/formulagroupcl_public.hxx @@ -11,7 +11,7 @@ #define SC_OPENCL_FORMULAGROUPCL_PUBLIC_HXX const char* publicFunc = - "int isNan(double a) { return a != a; }\n" + "int isNan(double a) { return isnan(a); }\n" "double fsum_count(double a, double b, __private int *p) {\n" " bool t = isNan(a);\n" " (*p) += t?0:1;\n" |