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