Skip to content

attempt 9: saving env #2

attempt 9: saving env

attempt 9: saving env #2

Workflow file for this run

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 environment
run: |
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- name: Build kernels
run: |
cd dev/sycl
# Use the Intel DPC++ compiler (icpx) and run make
make CC=icx
- name: Run kernels
run: |
cd dev/sycl
make run_all CC=icx