Skip to content

Commit 946a1ec

Browse files
committed
update HIP/CUDA dependences to include sparse libraries
these are needed by AMReX
1 parent b5a9fec commit 946a1ec

File tree

3 files changed

+5
-36
lines changed

3 files changed

+5
-36
lines changed

.github/workflows/cuda.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
cd ../..
2727
2828
- name: Dependencies
29-
run: .github/workflows/dependencies/dependencies_nvcc11.sh
29+
run: .github/workflows/dependencies/dependencies_nvcc.sh 11.7
3030

3131
- name: compile test_react (aprox13)
3232
run: |

.github/workflows/dependencies/dependencies_hip.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ echo 'export PATH=/opt/rocm/llvm/bin:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/r
4040

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

43+
sudo apt-get clean
4344
sudo apt-get update
4445

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

6164
# hiprand-dev is a new package that does not exist in old versions
6265
sudo apt-get install -y --no-install-recommends hiprand-dev || true

.github/workflows/dependencies/dependencies_nvcc11.sh

-34
This file was deleted.

0 commit comments

Comments
 (0)