summaryrefslogtreecommitdiffstats
path: root/libclc/ptx/lib/math/nextafter.cl
blob: 5b4521d21c26a1e50fe6af60e4e50f021205f112 (plain)
1
2
3
4
5
6
7
8
9
10
#include <clc/clc.h>
#include "../lib/clcmacro.h"
#include <math/clc_nextafter.h>

_CLC_DEFINE_BINARY_BUILTIN(float, nextafter, __clc_nextafter, float, float)

#ifdef cl_khr_fp64
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
_CLC_DEFINE_BINARY_BUILTIN(double, nextafter, __clc_nextafter, double, double)
#endif
OpenPOWER on IntegriCloud