Skip to content

Commit

Permalink
update HIP/CUDA dependences to include sparse libraries
Browse files Browse the repository at this point in the history
these are needed by AMReX
  • Loading branch information
zingale committed Dec 10, 2024
1 parent b5a9fec commit 946a1ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
cd ../..
- name: Dependencies
run: .github/workflows/dependencies/dependencies_nvcc11.sh
run: .github/workflows/dependencies/dependencies_nvcc.sh 11.7

- name: compile test_react (aprox13)
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/dependencies/dependencies_hip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ echo 'export PATH=/opt/rocm/llvm/bin:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/r

# we should not need to export HIP_PATH=/opt/rocm/hip with those installs

sudo apt-get clean
sudo apt-get update

# Ref.: https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#installing-development-packages-for-cross-compilation
Expand All @@ -56,7 +57,9 @@ sudo apt-get install -y --no-install-recommends \
roctracer-dev \
rocprofiler-dev \
rocrand-dev \
rocprim-dev
rocfft-dev \
rocprim-dev \
rocsparse-dev

# hiprand-dev is a new package that does not exist in old versions
sudo apt-get install -y --no-install-recommends hiprand-dev || true
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/dependencies/dependencies_nvcc11.sh

This file was deleted.

0 comments on commit 946a1ec

Please sign in to comment.