Sign in
llvm
/
llvm-project
/
311dd55c9eb9342b1c889f6db7728f15b05378bb
/
.
/
libclc
/
generic
/
lib
/
cl_khr_local_int32_base_atomics
/
atom_inc.cl
blob: d91ff6573df5edbeb269d4ba33116940e1dcb06f [
file
] [
log
] [
blame
]
#
include
<
clc
/
clc
.
h
>
#
define
IMPL
(
TYPE
)
\
_CLC_OVERLOAD _CLC_DEF TYPE atom_inc
(
volatile local TYPE
*
p
)
{
\
return atomic_inc
(
p
)
; \
}
IMPL
(
int
)
IMPL
(
unsigned int
)