alexaverbuch

Error when using fabs() with double

Discussion created by alexaverbuch on Sep 28, 2009
Latest reply on Sep 30, 2009 by michael.chu

When running the code below I get this error:

symbol lookup error: /tmp/OCLvOO1aF.so: undefined symbol: __fabs_f64

Does the AMD OpenCL implementation actually overload fabs() to accept double datatypes?

double x = -1; fabs(x);

Outcomes