Skip to content

Commit

Permalink
add view labels
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoleavans committed Jun 26, 2024
1 parent 002a1f0 commit 9f51209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perf_tests/test_osu_latency_sendrecv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void benchmark_osu_latency_KokkosComm_sendrecv(benchmark::State &state) {

auto space = Kokkos::DefaultExecutionSpace();
using view_type = Kokkos::View<char *>;
view_type a("", state.range(0));
view_type a("A", state.range(0));

while (state.KeepRunning()) {
do_iteration(state, MPI_COMM_WORLD, osu_latency_Kokkos_Comm_sendrecv<Kokkos::DefaultExecutionSpace, view_type>,
Expand All @@ -69,7 +69,7 @@ void benchmark_osu_latency_MPI_sendrecv(benchmark::State &state) {
}

using view_type = Kokkos::View<char *>;
view_type a("", state.range(0));
view_type a("A", state.range(0));

while (state.KeepRunning()) {
do_iteration(state, MPI_COMM_WORLD, osu_latency_MPI_sendrecv<view_type>, rank, a);
Expand Down

0 comments on commit 9f51209

Please sign in to comment.