-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d1a32d
commit 01ba7f3
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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 |