Skip to content

Instantly share code, notes, and snippets.

@robertmaynard
Created September 2, 2020 17:19
Show Gist options
  • Save robertmaynard/d5a1a05f68098efad157667eed6d2192 to your computer and use it in GitHub Desktop.
Save robertmaynard/d5a1a05f68098efad157667eed6d2192 to your computer and use it in GitHub Desktop.
building vtk-m with kokkos + hip
# 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