File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 99 strategy :
1010 matrix :
1111 clang_version : [13]
12- rocm_version : ['5.1.0 ']
12+ rocm_version : ['5.1.1 ']
1313 os : [ubuntu-20.04]
1414 cuda : [11.0]
1515 steps :
1616 - uses : actions/checkout@v2
1717 with :
1818 submodules : ' recursive'
19+ - name : install ROCm
20+ run : |
21+ sudo apt install libnuma-dev cmake unzip
22+ wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
23+ echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/${{matrix.rocm_version}}/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
24+ sudo apt update
25+ sudo apt install rocm-dev
1926 - name : install CUDA 11.0
2027 if : matrix.cuda == 11.0
2128 run : |
2229 mkdir -p /opt/hipSYCL/cuda
2330 wget -q -O cuda.sh http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_450.51.05_linux.run
2431 sudo sh ./cuda.sh --override --silent --toolkit --no-man-page --no-drm --no-opengl-libs --installpath=/opt/hipSYCL/cuda || true
2532 echo "CUDA Version 11.0.0" | sudo tee /opt/hipSYCL/cuda/version.txt
26- - name : install ROCm
27- run : |
28- sudo apt install libnuma-dev cmake unzip
29- wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
30- echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/${{matrix.rocm_version}} bionic main' | sudo tee /etc/apt/sources.list.d/rocm.list
31- sudo apt update
32- sudo apt install rocm-dev
3333 - name : install LLVM
3434 run : |
3535 wget https://apt.llvm.org/llvm.sh
You can’t perform that action at this time.
0 commit comments