Skip to content

Commit c43c48a

Browse files
committed
fixup! [dist] add round trip index mapping test
1 parent b9a3f24 commit c43c48a

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

test/distributed/index_map_kernels.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,9 @@ TEST_F(IndexMap, RoundTripLocalWithLocalIndexSpace)
561561
auto global = gko::array<global_index_type>(exec);
562562

563563
gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_global(
564-
exec, to_device_const(part.get()), to_device_const(remote_global_idxs),
565-
this_rank, query, gko::experimental::distributed::index_space::combined,
566-
global);
564+
exec, to_device_const(dpart.get()),
565+
to_device_const(dremote_global_idxs), this_rank, query,
566+
gko::experimental::distributed::index_space::combined, global);
567567
gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_local(
568568
exec, dpart.get(), dtarget_ids, to_device_const(dremote_global_idxs),
569569
this_rank, global,
@@ -600,9 +600,9 @@ TEST_F(IndexMap, RoundTripLocalWithNonLocalIndexSpace)
600600
auto global = gko::array<global_index_type>(exec);
601601

602602
gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_global(
603-
exec, to_device_const(part.get()), to_device_const(remote_global_idxs),
604-
this_rank, query, gko::experimental::distributed::index_space::combined,
605-
global);
603+
exec, to_device_const(dpart.get()),
604+
to_device_const(dremote_global_idxs), this_rank, query,
605+
gko::experimental::distributed::index_space::combined, global);
606606
gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_local(
607607
exec, dpart.get(), dtarget_ids, to_device_const(dremote_global_idxs),
608608
this_rank, global,
@@ -649,9 +649,9 @@ TEST_F(IndexMap, RoundTripLocalWithCombinedIndexSpace)
649649
auto global = gko::array<global_index_type>(exec);
650650

651651
gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_global(
652-
exec, to_device_const(part.get()), to_device_const(remote_global_idxs),
653-
this_rank, query, gko::experimental::distributed::index_space::combined,
654-
global);
652+
exec, to_device_const(dpart.get()),
653+
to_device_const(dremote_global_idxs), this_rank, query,
654+
gko::experimental::distributed::index_space::combined, global);
655655
gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_local(
656656
exec, dpart.get(), dtarget_ids, to_device_const(dremote_global_idxs),
657657
this_rank, global,

0 commit comments

Comments
 (0)