Go to the documentation of this file.
12 #ifndef __METAL_ATOMIC__H__
13 #define __METAL_ATOMIC__H__
15 #include <metal/config.h>
17 #if defined(HAVE_STDATOMIC_H) && !defined(__STDC_NO_ATOMICS__) && \
19 # include <stdatomic.h>
20 #elif defined(__GNUC__)
21 # include <metal/compiler/gcc/atomic.h>
23 # include <metal/processor/@PROJECT_PROCESSOR@/atomic.h>