From 991bbac08972d446459bd16f3d15e2b439767d2c Mon Sep 17 00:00:00 2001 From: Marcel Koch Date: Tue, 2 Apr 2024 17:27:08 +0000 Subject: [PATCH] Make comm_index_type avaiable in the mpi namespace --- include/ginkgo/core/base/types.hpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/include/ginkgo/core/base/types.hpp b/include/ginkgo/core/base/types.hpp index 8e2096c09e2..6d8e2f3e928 100644 --- a/include/ginkgo/core/base/types.hpp +++ b/include/ginkgo/core/base/types.hpp @@ -795,7 +795,7 @@ inline constexpr GKO_ATTRIBUTES IndexType invalid_index() namespace experimental { -namespace distributed { +namespace mpi { /** @@ -806,6 +806,18 @@ namespace distributed { using comm_index_type = int; +} // namespace mpi + + +namespace distributed { + + +/** + * Make mpi::comm_index_type avaiable in this namespace + */ +using mpi::comm_index_type; + + /** * Instantiates a template for each valid combination of local and global index * type