There was an error while loading. Please reload this page.
1 parent b38dcc1 commit 2aedb88Copy full SHA for 2aedb88
core/test/mpi/distributed/row_gatherer.cpp
@@ -76,6 +76,19 @@ TYPED_TEST(RowGatherer, CanDefaultConstruct)
76
}
77
78
79
+TYPED_TEST(RowGatherer, HasDefaultCollectiveCommunicator)
80
+{
81
+ using RowGatherer = typename TestFixture::row_gatherer_type;
82
+
83
+ auto rg = RowGatherer::create(this->ref, this->comm);
84
85
+ auto coll_comm = rg->get_collective_communicator();
86
+ ASSERT_NE(std::dynamic_pointer_cast<
87
+ const gko::experimental::mpi::DenseCommunicator>(coll_comm),
88
+ nullptr);
89
+}
90
91
92
TYPED_TEST(RowGatherer, CanConstructWithEmptyCollectiveCommAndIndexMap)
93
{
94
using RowGatherer = typename TestFixture::row_gatherer_type;
0 commit comments