Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Dec 15, 2023
1 parent 70d6b37 commit c299b77
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Linux
run-name: Linux
on: [push]
jobs:
Kokkos-040200-Serial-Release:
Kokkos-040200-Threads-Debug:
env:
KOKKOS_SRC: ${{ github.workspace }}/_deps/kokkos
KOKKOS_BUILD: ${{ github.workspace }}/_deps/kokkos-build
Expand All @@ -28,11 +28,11 @@ jobs:
run: |
git clone https://github.com/kokkos/kokkos.git "$KOKKOS_SRC"
cd "$KOKKOS_SRC" && git checkout 4.2.00
cmake -S "$KOKKOS_SRC" -B "$KOKKOS_BUILD" -DCMAKE_INSTALL_PREFIX="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKokkos_ENABLE_SERIAL=ON -DKokkos_ENABLE_THREADS=ON -DKokkos_ARCH_NATIVE=ON -DCMAKE_CXX_COMPILER=mpicxx
cmake -S "$KOKKOS_SRC" -B "$KOKKOS_BUILD" -DCMAKE_INSTALL_PREFIX="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkos_ENABLE_SERIAL=ON -DKokkos_ENABLE_THREADS=ON -DKokkos_ARCH_NATIVE=ON -DCMAKE_CXX_COMPILER=mpicxx
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
- name: Build KokkosComm
run: |
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_DIR="$KOKKOS_INSTALL/lib/cmake/Kokkos" -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_DIR="$KOKKOS_INSTALL/lib/cmake/Kokkos" -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_BUILD_TYPE=Debug
cmake --build "$COMM_BUILD" --parallel "$(nproc)"
- name: Test KokkosComm
run: |
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# kokkos-comm
MPI Wrapper for [Kokkos](https://github.com/kokkos/kokkos).


```
mkdir build && cd build
cmake ..
make
ctest
```


## Considerations
Expand Down
2 changes: 1 addition & 1 deletion perf_tests/test_sendrecv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ void mpi_benchmark(benchmark::State &state) {
}
}

BENCHMARK(mpi_benchmark)->UseManualTime();
BENCHMARK(mpi_benchmark)->UseManualTime()->Unit(benchmark::kMillisecond);;

0 comments on commit c299b77

Please sign in to comment.