Skip to content

Commit

Permalink
understanding why cuda workflows are so tricky
Browse files Browse the repository at this point in the history
  • Loading branch information
eliazonta committed Sep 21, 2023
1 parent 42d5d6f commit 5412a74
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 36 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/c-cpp.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/parallel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: NVCC

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build-parallel:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: Jimver/cuda-toolkit@v0.2.11
id: cuda-toolkit
with:
cuda: '12.1.0'
- name: cuda-build
shell: |
bash
- run: nvcc -V
20 changes: 20 additions & 0 deletions .github/workflows/sequential.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: C Binary build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build-sequential:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: make clean
run: make clean

- name: make sequential
run: make sequential
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ make parallel
```

### TODO LIST
- [ ] ⚠️ **IMPORTANT** more tests on my GPU (working on my Mac M1 rn🥲)
- [X] ⚠️ **IMPORTANT** more tests on my GPU (working on my Mac M1 rn🥲)
- [ ] more performances evaluation
- [ ] CUDA workflow

0 comments on commit 5412a74

Please sign in to comment.