Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-project
/
a0cc1654ced43274ae31bf5a0f9d23301e53bbf3
/
.
/
libclc
/
generic
/
lib
/
cl_khr_global_int32_base_atomics
/
atom_sub.cl
blob: 7faa3cc040f0e02d336879c22e92193a841be54e [
file
] [
log
] [
blame
]
#
include
<
clc
/
clc
.
h
>
#
define
IMPL
(
TYPE
)
\
_CLC_OVERLOAD _CLC_DEF TYPE atom_sub
(
global TYPE
*
p
,
TYPE val
)
{
\
return atomic_sub
(
p
,
val
)
; \
}
IMPL
(
int
)
IMPL
(
unsigned int
)