//@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 #ifndef KOKKOS_OPENACC_SCHEDULE_TYPE_HPP #define KOKKOS_OPENACC_SCHEDULE_TYPE_HPP #include #include namespace Kokkos::Experimental::Impl { template struct OpenACCSchedule { static_assert(is_execution_policy_v); static_assert(std::is_void_v || std::is_same_v> || std::is_same_v>); using type = std::conditional_t>, Schedule, Schedule>; }; template using OpenACCScheduleType = typename OpenACCSchedule::type; } // namespace Kokkos::Experimental::Impl #endif