Kokkos Core Kernels Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Kokkos_Atomics_Desul_Config.hpp
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 #ifndef KOKKOS_IMPL_PUBLIC_INCLUDE
17 #include <Kokkos_Macros.hpp>
18 static_assert(false,
19  "Including non-public Kokkos header files is not allowed.");
20 #endif
21 #ifndef KOKKOS_ATOMICS_DESUL_CONFIG_HPP
22 #define KOKKOS_ATOMICS_DESUL_CONFIG_HPP
23 
24 #include <Kokkos_Macros.hpp>
25 
26 #if defined(KOKKOS_ARCH_KEPLER) || defined(KOKKOS_ARCH_MAXWELL)
27 #define DESUL_CUDA_ARCH_IS_PRE_PASCAL
28 #endif
29 
30 #if defined(KOKKOS_ARCH_KEPLER) || defined(KOKKOS_ARCH_MAXWELL) || \
31  defined(KOKKOS_ARCH_PASCAL)
32 #define DESUL_CUDA_ARCH_IS_PRE_VOLTA
33 #endif
34 
35 #endif // KOKKOS_ATOMICS_DESUL_CONFIG_HPP