Skip to content

Update adamw.hpp

Update adamw.hpp #22

Workflow file for this run

name: CI kernels
on: [push, pull_request]
jobs:
diff:
runs-on: ubuntu-latest
outputs:
sycl_changed: ${{ steps.filter.outputs.sycl_changed }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
base: "main"
filters: |
sycl_changed:
- 'dev/sycl/**'
gpu:
needs: diff
runs-on: devcloud # self-hosted GPU runner on Intel devcloud
name: Run all kernels (GPU)
if: needs.diff.outputs.sycl_changed == 'true'
steps:
- uses: actions/checkout@v4
- name: Build kernels (GPU)
run: |
cd dev/sycl
make CC=icx
- name: Run kernels (GPU)
run: |
cd dev/sycl
make run_all CC=icx
cpu:
needs: diff
runs-on: ubuntu-latest
name: Run all kernels (CPU)
if: needs.diff.outputs.sycl_changed == 'true'
steps:
- uses: actions/checkout@v4
- name: Install OneAPI
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 (CPU)
run: |
cd dev/sycl
make CC=icx
- name: Run kernels (CPU)
run: |
cd dev/sycl
make run_all CC=icx