This program applies a 3x3 top-hat filter to a randomly generated 2D array. The boundaries are treated as periodic in both directions. The code is written in C++ on an MPI+Kokkos framework.
- cmake 3.10+
- Kokkos package
- CUDA-Aware MPI package
We can follow the standard cmake procedure for building the code and mpirun for code execution.
mkdir build; cd build
cmake ..
make
mpirun -np 4 ./topHatThe code is tested in Linux machines with A100 and A5000 GPUs that has Kokkos version 4.3.01 and openmpi version 5.0.3. The openmpi package is built with CUDA Aware support.