diff options
author | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-22 11:48:14 -0600 |
---|---|---|
committer | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-22 11:50:09 -0600 |
commit | a2972f7d8c5037acb278d9f9fb6e51cef479de1a (patch) | |
tree | d37b44879831429ef7cf6bd95263162727278589 | |
parent | 1869c062c4fe8267323764e2cc9e7367e1ec3674 (diff) |
GPU Calc: using intrinsic isnan()
Change-Id: Ic714074a22847fbe4ac39cd035d4924fb0525efd
-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 d001a0675184..eaf42271f45e 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" |