Blender
V3.3
|
#include "atomic_ops.h"
Go to the source code of this file.
Macros | |
#define | atomic_add_and_fetch_float(p, x) atomic_add_and_fetch_fl((p), (x)) |
#define | atomic_compare_and_swap_float(p, old_val, new_val) atomic_cas_float((p), (old_val), (new_val)) |
#define | atomic_fetch_and_inc_uint32(p) atomic_fetch_and_add_uint32((p), 1) |
#define | atomic_fetch_and_dec_uint32(p) atomic_fetch_and_add_uint32((p), -1) |
#define | CCL_LOCAL_MEM_FENCE 0 |
#define | ccl_barrier(flags) ((void)0) |
#define atomic_add_and_fetch_float | ( | p, | |
x | |||
) | atomic_add_and_fetch_fl((p), (x)) |
#define atomic_compare_and_swap_float | ( | p, | |
old_val, | |||
new_val | |||
) | atomic_cas_float((p), (old_val), (new_val)) |
#define atomic_fetch_and_dec_uint32 | ( | p | ) | atomic_fetch_and_add_uint32((p), -1) |
#define atomic_fetch_and_inc_uint32 | ( | p | ) | atomic_fetch_and_add_uint32((p), 1) |