[SampleProfileLoader] Fix integer overflow in generateMDProfMetadata (#90217)
[llvm-project.git] / libclc / generic / lib / math / rint.cl
blob5d9f4b119af85e68d37a526ee212e15b8f59e3bc
1 #include <clc/clc.h>
3 // Map the llvm intrinsic to an OpenCL function.
4 #define __CLC_FUNCTION __clc_rint
5 #define __CLC_INTRINSIC "llvm.rint"
6 #include "math/unary_intrin.inc"
8 #undef __CLC_FUNCTION
9 #define __CLC_FUNCTION rint
10 #include "unary_builtin.inc"