[Mesa-dev] [Bug 93375] unsupported call to function erf when running GROMACS with OpenCL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 14 14:55:54 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93375

--- Comment #1 from Aaron Watry <awatry at gmail.com> ---
Looks like libclc does not yet implement the erf function.

erfc is implemented, but not plain erf.

The amd-builtins branch in libclc looks like there's an erf implementation that
can be ported over:
https://llvm.org/svn/llvm-project/libclc/branches/amd-builtins/amd-builtins/math32/erfF.cl

The double implementation will need to be ported as well.

Note that it looks like the AMD implementation of erf requires doubles if
subnormals are NOT supported... If that's an issue for someone, we'll need a
workaround for that.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151214/593b9c20/attachment.html>


More information about the mesa-dev mailing list