[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 15:12:46 PST 2015


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

--- Comment #2 from Vedran Miletić <rivanvx at gmail.com> ---
(In reply to Aaron Watry from comment #1)
> Looks like libclc does not yet implement the erf function.

Neat, the approach you suggest seems to be simpler than the one I had in mind,
analogous to ldexp http://reviews.llvm.org/D14990

> 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.

erff() from GROMACS works without doubles:
https://github.com/gromacs/gromacs/blob/fab0108c88e441d891d838bb81ca879ff9708317/src/gromacs/math/utilities.cpp

Not sure if it's usable in this form, I would have to look.

-- 
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/ad1222dc/attachment.html>


More information about the mesa-dev mailing list