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