//@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 namespace { template constexpr bool compile_time_test() { using execution_space = typename Policy::execution_space; using index_type = typename Policy::index_type; using schedule_type = typename Policy::schedule_type; using work_tag = typename Policy::work_tag; static_assert(std::is_same_v); static_assert(std::is_same_v); static_assert(std::is_same_v); static_assert(std::is_same_v); return true; } // Separate class type from class template args so that different // combinations of template args can be used, while still including // any necessary templates args (stored in "Args..."). // Example: MDRangePolicy required an iteration pattern be included. template