[clang-tidy][use-internal-linkage] fix false positive for consteval function (#122141)
[llvm-project.git] / libclc / generic / lib / math / nextafter.cl
blobcbe54cd4e2662a7457446c506828aab949952070
1 #include <clc/clc.h>
2 #include "../clcmacro.h"
4 _CLC_DEFINE_BINARY_BUILTIN(float, nextafter, __builtin_nextafterf, float, float)
6 #ifdef cl_khr_fp64
8 #pragma OPENCL EXTENSION cl_khr_fp64 : enable
10 _CLC_DEFINE_BINARY_BUILTIN(double, nextafter, __builtin_nextafter, double, double)
12 #endif