ginkgo/core/distributed/index_map_fwd.hpp Source File

ginkgo/core/distributed/index_map_fwd.hpp Source File#

Reference API: ginkgo/core/distributed/index_map_fwd.hpp Source File
Reference API
index_map_fwd.hpp
1// SPDX-FileCopyrightText: 2017 - 2025 The Ginkgo authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef GKO_PUBLIC_CORE_INDEX_MAP_FWD_HPP
6#define GKO_PUBLIC_CORE_INDEX_MAP_FWD_HPP
7
8#include <variant>
9
10#include <ginkgo/core/base/types.hpp>
11
12
13namespace gko {
14namespace experimental {
15namespace distributed {
16
17
18template <typename LocalIndexType, typename GlobalIndexType>
19class index_map;
20
21using index_map_variant =
22 std::variant<index_map<int32, int32>, index_map<int32, int64>,
23 index_map<int64, int64>>;
24
25
26} // namespace distributed
27} // namespace experimental
28} // namespace gko
29
30#endif // GKO_PUBLIC_CORE_INDEX_MAP_FWD_HPP
The Ginkgo namespace.
Definition abstract_factory.hpp:20