Kokkos Core Kernels Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Kokkos_Atomic.hpp
Go to the documentation of this file.
1 //@HEADER
2 // ************************************************************************
3 //
4 // Kokkos v. 4.0
5 // Copyright (2022) National Technology & Engineering
6 // Solutions of Sandia, LLC (NTESS).
7 //
8 // Under the terms of Contract DE-NA0003525 with NTESS,
9 // the U.S. Government retains certain rights in this software.
10 //
11 // Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12 // See https://kokkos.org/LICENSE for license information.
13 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14 //
15 //@HEADER
16 
39 
40 #ifndef KOKKOS_ATOMIC_HPP
41 #define KOKKOS_ATOMIC_HPP
42 #ifndef KOKKOS_IMPL_PUBLIC_INCLUDE
43 #define KOKKOS_IMPL_PUBLIC_INCLUDE
44 #define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_ATOMIC
45 #endif
46 
47 #include <Kokkos_Macros.hpp>
48 
49 #include <Kokkos_Atomics_Desul_Wrapper.hpp>
50 #include <Kokkos_Atomics_Desul_Volatile_Wrapper.hpp>
51 
52 #ifdef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_ATOMIC
53 #undef KOKKOS_IMPL_PUBLIC_INCLUDE
54 #undef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_ATOMIC
55 #endif
56 #endif /* KOKKOS_ATOMIC_HPP */