//@HEADER // ************************************************************************ // // Kokkos v. 4.0 // Copyright (2022) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Government retains certain rights in this software. // // Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions. // See https://kokkos.org/LICENSE for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //@HEADER #include #include #include #include #include #if !defined(KOKKOS_ENABLE_CUDA) || defined(__CUDACC__) namespace Test { TEST(TEST_CATEGORY, host_space_access) { using host_exec_space = Kokkos::HostSpace::execution_space; using device_space = Kokkos::Device; using mirror_space = Kokkos::Impl::HostMirror::Space; static_assert(Kokkos::SpaceAccessibility::accessible); static_assert( Kokkos::SpaceAccessibility::accessible); static_assert( Kokkos::SpaceAccessibility::accessible); } } // namespace Test #endif