gpu ci 5 #12
Workflow file for this run
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
name: CI kernels | |
on: [push, pull_request] | |
jobs: | |
setup: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, devcloud] # self-hosted CPU runner on Intel devcloud | |
runs-on: ${{ matrix.os }} | |
# name should be "Run all kernels (CPU)" or "Run all kernels (GPU)" depending on matrix.os | |
name: Run all kernels ( if matrix.os == 'devcloud' then "GPU" else "CPU") | |
steps: | |
- uses: actions/checkout@v3 | |
# run this only if we are NOT on devcloud | |
- name: Install oneAPI | |
if: matrix.os == 'ubuntu-latest' | |
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 |