//@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 #include namespace { using view_t = Kokkos::View; using dual_view_t = Kokkos::DualView; using dyn_rank_view_t = Kokkos::DynRankView; using dynamic_view_t = Kokkos::Experimental::DynamicView; using offset_view_t = Kokkos::Experimental::OffsetView; using scatter_view_t = Kokkos::Experimental::ScatterView; static_assert(Kokkos::is_dual_view_v); static_assert(!Kokkos::is_dyn_rank_view_v); static_assert(!Kokkos::is_dynamic_view_v); static_assert(!Kokkos::Experimental::is_offset_view_v); static_assert(!Kokkos::Experimental::is_scatter_view_v); static_assert(!Kokkos::is_view_v); static_assert(!Kokkos::is_dual_view_v); static_assert(Kokkos::is_dyn_rank_view_v); static_assert(!Kokkos::is_dynamic_view_v); static_assert(!Kokkos::Experimental::is_offset_view_v); static_assert(!Kokkos::Experimental::is_scatter_view_v); static_assert(!Kokkos::is_view_v); static_assert(!Kokkos::is_dual_view_v); static_assert(!Kokkos::is_dyn_rank_view_v); static_assert(Kokkos::is_dynamic_view_v); static_assert(!Kokkos::Experimental::is_offset_view_v); static_assert(!Kokkos::Experimental::is_scatter_view_v); static_assert(!Kokkos::is_view_v); static_assert(!Kokkos::is_dual_view_v); static_assert(!Kokkos::is_dyn_rank_view_v); static_assert(!Kokkos::is_dynamic_view_v); static_assert(Kokkos::Experimental::is_offset_view_v); static_assert(!Kokkos::Experimental::is_scatter_view_v); static_assert(!Kokkos::is_view_v); static_assert(!Kokkos::is_dual_view_v); static_assert(!Kokkos::is_dyn_rank_view_v); static_assert(!Kokkos::is_dynamic_view_v); static_assert(!Kokkos::Experimental::is_offset_view_v); static_assert(Kokkos::Experimental::is_scatter_view_v); static_assert(!Kokkos::is_view_v); } // namespace