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__) && \
20 # include <stdatomic.h>
21 #elif defined(__GNUC__)
22 # include <metal/compiler/gcc/atomic.h>
24 # include <metal/processor/@PROJECT_PROCESSOR@/atomic.h>