Skip to content

Commit

Permalink
fixup! [dist] add round trip index mapping test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Dec 17, 2024
1 parent b9a3f24 commit c3b27c2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/distributed/index_map_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,9 +561,9 @@ TEST_F(IndexMap, RoundTripLocalWithLocalIndexSpace)
auto global = gko::array<global_index_type>(exec);

gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_global(
exec, to_device_const(part.get()), to_device_const(remote_global_idxs),
this_rank, query, gko::experimental::distributed::index_space::combined,
global);
exec, to_device_const(dpart.get()),
to_device_const(dremote_global_idxs), this_rank, query,
gko::experimental::distributed::index_space::combined, global);
gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_local(
exec, dpart.get(), dtarget_ids, to_device_const(dremote_global_idxs),
this_rank, global,
Expand Down Expand Up @@ -600,9 +600,9 @@ TEST_F(IndexMap, RoundTripLocalWithNonLocalIndexSpace)
auto global = gko::array<global_index_type>(exec);

gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_global(
exec, to_device_const(part.get()), to_device_const(remote_global_idxs),
this_rank, query, gko::experimental::distributed::index_space::combined,
global);
exec, to_device_const(dpart.get()),
to_device_const(dremote_global_idxs), this_rank, query,
gko::experimental::distributed::index_space::combined, global);
gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_local(
exec, dpart.get(), dtarget_ids, to_device_const(dremote_global_idxs),
this_rank, global,
Expand Down Expand Up @@ -649,9 +649,9 @@ TEST_F(IndexMap, RoundTripLocalWithCombinedIndexSpace)
auto global = gko::array<global_index_type>(exec);

gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_global(
exec, to_device_const(part.get()), to_device_const(remote_global_idxs),
this_rank, query, gko::experimental::distributed::index_space::combined,
global);
exec, to_device_const(dpart.get()),
to_device_const(dremote_global_idxs), this_rank, query,
gko::experimental::distributed::index_space::combined, global);
gko::kernels::GKO_DEVICE_NAMESPACE::index_map::map_to_local(
exec, dpart.get(), dtarget_ids, to_device_const(dremote_global_idxs),
this_rank, global,
Expand Down

0 comments on commit c3b27c2

Please sign in to comment.