Bump actions/checkout from 4 to 5 (#321) #536
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
--- | |
name: GPU | |
on: | |
- push | |
- pull_request | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v5 | |
- uses: Jimver/[email protected] | |
id: cuda-toolkit | |
with: | |
method: network | |
non-cuda-sub-packages: '["libcublas", "libcusparse", "libcudart"]' | |
- run: sudo apt-get install libopenblas-dev liblapack-dev | |
- run: make gpu | |
- run: make test_gpu | |
# - run: out/run_tests_gpu_indirect # gpus not available yet | |
- name: Install cudss | |
run: sudo apt-get -y install cudss | |
- name: Make cudss target | |
run: | | |
export CUDSS_PATH=/usr/lib/cudss | |
export CUCC=${CUDA_PATH}/bin/nvcc | |
${CUCC} --version | |
make cudss | |
# - run: out/run_tests_cudss # gpus not available yet |