Skip to content

kokkosPagani inline build

isaki001 edited this page Jun 11, 2021 · 1 revision

Instructions for building kokkosPagani

After cloning kokkosPagani, clone Kokkos and Kokkos-kernels at the top level of that directory with the following commands:

Then create a build directory. From within the build directory:

cmake ../ -DKokkos_ENABLE_CUDA=ON -DKokkos_ENABLE_OPENMP=OFF -DKokkos_ENABLE_CUDA_LAMBDA=ON -DKokkos_ARCH_VOLTA70=ON -DKokkos_ENABLE_CUDA_UVM=OFF

Furthermore, set the following environment variables:

export CUDA_LAUNCH_BLOCKING=1 export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1

Clone this wiki locally