llvm-project/libclc/generic/include/clc/atomic/atomic_inc.h

2 lines
39 B
C

#define atomic_inc(p) atomic_add(p, 1)