Created
September 2, 2020 17:19
-
-
Save robertmaynard/d5a1a05f68098efad157667eed6d2192 to your computer and use it in GitHub Desktop.
building vtk-m with kokkos + hip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build a simple vtk-m example | |
git clone --single-branch --branch experimental_hip_support https://gitlab.kitware.com/robertmaynard/vtk-m.git | |
# build just the bits of vtk-m that work with hip | |
cmake -S src/ -B build_hip/ \ | |
-DVTKm_ENABLE_KOKKOS=ON \ | |
-DCMAKE_PREFIX_PATH=<kokkos_install_dir> | |
# build a simple vtk-m example | |
cmake -S src/examples/hip_simple_demo/ -B build \ | |
-DCMAKE_PREFIX_PATH="<vtkm_build_dir>;<kokkos_install_dir>" \ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment