Debian Codegraph @

packages/kokkos/tpls/mdspan/include/experimental/__p2389_bits/dims.hpp

raw
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
17 #pragma once
18
19 // backward compatibility import into experimental
20 namespace MDSPAN_IMPL_STANDARD_NAMESPACE {
21 namespace MDSPAN_IMPL_PROPOSED_NAMESPACE {
22
23 template< ::std::size_t Rank, class IndexType = std::size_t>
24 using dims =
25 :: MDSPAN_IMPL_STANDARD_NAMESPACE :: dextents<IndexType, Rank>;
26
27 } // namespace MDSPAN_IMPL_PROPOSED_NAMESPACE
28 } // namespace MDSPAN_IMPL_STANDARD_NAMESPACE