[PATCH] D39703: [CUDA] Remove implementations of nexttoward and nextafter.

2017-11-08 Thread Justin Lebar via Phabricator via cfe-commits
jlebar added a comment. > Libdevice does provide implementation for __nv_nextafterf() and > __nv_nextafter() and it has corresponding wrappers in math_functions.h[pp]. > > Perhaps we should keep nextafter around. Oh, that changes things, since nexttoward is basically the same thing as nextafte

[PATCH] D39703: [CUDA] Remove implementations of nexttoward and nextafter.

2017-11-06 Thread Artem Belevich via Phabricator via cfe-commits
tra added a comment. Libdevice does provide implementation for __nv_nextafterf() and __nv_nextafter() and it has corresponding wrappers in math_funct