repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[SampleProfileLoader] Fix integer overflow in generateMDProfMetadata (#90217)
[llvm-project.git]
/
libclc
/
generic
/
lib
/
math
/
rint.cl
blob
5d9f4b119af85e68d37a526ee212e15b8f59e3bc
1
#
include
<
clc
/
clc.h
>
2
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"
7
8
#
undef __CLC_FUNCTION
9
#
define __CLC_FUNCTION rint
10
#
include
"unary_builtin.inc"