Skip to content

Commit

Permalink
test: use non-Impl API in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
dssgabriel committed Jun 19, 2024
1 parent 33f8687 commit 3f90975
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions unit_tests/test_barrier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@

#include <gtest/gtest.h>

#include "KokkosComm_barrier.hpp"
#include "KokkosComm.hpp"

namespace {

TEST(Barrier, 0) {
int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);

KokkosComm::Impl::barrier(Kokkos::DefaultExecutionSpace(), MPI_COMM_WORLD);
KokkosComm::barrier(Kokkos::DefaultExecutionSpace(), MPI_COMM_WORLD);
}

} // namespace

0 comments on commit 3f90975

Please sign in to comment.