Skip to content

Commit

Permalink
attempt to fix gpu workflow (#276)
Browse files Browse the repository at this point in the history
* attempt to fix gpu workflow

* new line

* link yml

* try some subpackages

* try some non cuda subpackages

* add cudart
  • Loading branch information
bodono authored Jun 25, 2024
1 parent 6455368 commit ea09a02
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/gpu.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
---
name: GPU

on: [push, pull_request]

on:
- push
- pull_request
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Jimver/cuda-toolkit@v0.2.5
- uses: Jimver/cuda-toolkit@v0.2.16
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

0 comments on commit ea09a02

Please sign in to comment.