Added ucl_erfc to the opencl, cuda and hip backends; reverted to using erfc instead of approximation to ensure double-precision matches

This commit is contained in:
Trung Nguyen
2022-07-25 15:34:44 -05:00
parent 288fd5add4
commit 93784f35e3
5 changed files with 37 additions and 37 deletions

View File

@ -166,6 +166,7 @@
#define ucl_cbrt cbrt
#define ucl_ceil ceil
#define ucl_abs fabs
#define ucl_erfc erfc
#if defined(FAST_MATH) && !defined(_DOUBLE_DOUBLE)