From 3f909751a0d9d03e1d351283d1067ac9fc598661 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Santos Date: Wed, 19 Jun 2024 14:34:56 +0200 Subject: [PATCH] test: use non-`Impl` API in the test --- unit_tests/test_barrier.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/unit_tests/test_barrier.cpp b/unit_tests/test_barrier.cpp index 843a2a92..c9aa95ca 100644 --- a/unit_tests/test_barrier.cpp +++ b/unit_tests/test_barrier.cpp @@ -16,14 +16,15 @@ #include -#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