diff options
author | Aaron Watry <awatry@gmail.com> | 2014-09-16 22:34:49 +0000 |
---|---|---|
committer | Aaron Watry <awatry@gmail.com> | 2014-09-16 22:34:49 +0000 |
commit | 0d976ba4975408152a746cf65aeff7152b8e6536 (patch) | |
tree | f245f8750ee2b3f02ef1c04063b8dcbb3ab1943e /libclc/generic/include/clc/clc.h | |
parent | 025d79ad6cbb346bb11637f5860d14fc7c347387 (diff) | |
download | bcm5719-llvm-0d976ba4975408152a746cf65aeff7152b8e6536.tar.gz bcm5719-llvm-0d976ba4975408152a746cf65aeff7152b8e6536.zip |
atomic: Add generic atom[ic]_cmpxchg
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 217918
Diffstat (limited to 'libclc/generic/include/clc/clc.h')
-rw-r--r-- | libclc/generic/include/clc/clc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/clc.h b/libclc/generic/include/clc/clc.h index a9988c1c572..972255bfe92 100644 --- a/libclc/generic/include/clc/clc.h +++ b/libclc/generic/include/clc/clc.h @@ -142,6 +142,7 @@ /* 6.11.11 Atomic Functions */ #include <clc/atomic/atomic_add.h> #include <clc/atomic/atomic_and.h> +#include <clc/atomic/atomic_cmpxchg.h> #include <clc/atomic/atomic_dec.h> #include <clc/atomic/atomic_inc.h> #include <clc/atomic/atomic_max.h> @@ -153,6 +154,7 @@ /* cl_khr_global_int32_base_atomics Extension Functions */ #include <clc/cl_khr_global_int32_base_atomics/atom_add.h> +#include <clc/cl_khr_global_int32_base_atomics/atom_cmpxchg.h> #include <clc/cl_khr_global_int32_base_atomics/atom_dec.h> #include <clc/cl_khr_global_int32_base_atomics/atom_inc.h> #include <clc/cl_khr_global_int32_base_atomics/atom_sub.h> @@ -167,6 +169,7 @@ /* cl_khr_local_int32_base_atomics Extension Functions */ #include <clc/cl_khr_local_int32_base_atomics/atom_add.h> +#include <clc/cl_khr_local_int32_base_atomics/atom_cmpxchg.h> #include <clc/cl_khr_local_int32_base_atomics/atom_dec.h> #include <clc/cl_khr_local_int32_base_atomics/atom_inc.h> #include <clc/cl_khr_local_int32_base_atomics/atom_sub.h> |