Kaydet (Commit) a2972f7d authored tarafından I-Jui (Ray) Sung's avatar I-Jui (Ray) Sung

GPU Calc: using intrinsic isnan()

Change-Id: Ic714074a22847fbe4ac39cd035d4924fb0525efd
üst 1869c062
......@@ -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"
......
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