[TargetVersion] Only enable on RISC-V and AArch64 (#115991)
[llvm-project.git] / libclc / ptx / lib / math / nextafter.cl
blob809eecac53d8c43d858ab1eaf911807d24be6e83
1 #include <clc/clc.h>
2 #include <clc/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