Skip to content

Commit

Permalink
ci: add action for dev kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
mspronesti committed Jul 28, 2024
1 parent 1d1a32d commit 01ba7f3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: oneAPI-build

on: [push, pull_request]

jobs:
setup:
runs-on: ubuntu-latest
name: Run all kernels (CPU)
steps:
- uses: actions/checkout@v3
- uses: rscohn2/setup-oneapi@v0
with:
list: true
components: |
icx
ifx
ccl
dnn
dpl
ippcp
mkl
tbb
- name: Setup variables
run: |
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- name: Build kernels
run: |
cd dev/sycl
make CC=icx
- name: Run kernels
run: |
cd dev/sycl
make run_all CC=icx

0 comments on commit 01ba7f3

Please sign in to comment.