[docs] Update HowToReleaseLLVM documentation.
[llvm-project.git] / libclc / amdgpu / lib / math / nextafter.cl
blobb290da0e417dd4306a48d723ed8f50bad36ca608
1 #include <clc/clc.h>
2 #include "../lib/clcmacro.h"
3 #include <math/clc_nextafter.h>
5 _CLC_DEFINE_BINARY_BUILTIN(float, nextafter, __clc_nextafter, float, float)
7 #ifdef cl_khr_fp64
8 #pragma OPENCL EXTENSION cl_khr_fp64 : enable
9 _CLC_DEFINE_BINARY_BUILTIN(double, nextafter, __clc_nextafter, double, double)
10 #endif
12 #ifdef cl_khr_fp16
13 #pragma OPENCL EXTENSION cl_khr_fp16 : enable
14 _CLC_DEFINE_BINARY_BUILTIN(half, nextafter, __clc_nextafter, half, half)
15 #endif