Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 6fae85b

Browse files
Activate compiler, enable CPU/FPGA-EMU devices
1 parent 6100c94 commit 6fae85b

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ on:
66

77
jobs:
88
setup_develop:
9-
name: Build packages with DPC++
10-
runs-on: Ubuntu-20.04
9+
name: Build packages with DPC++
10+
runs-on: Ubuntu-20.04
1111

12-
steps:
13-
-name: Cancel Previous Runs
12+
steps:
13+
- name: Cancel Previous Runs
1414
uses: styfle/[email protected]
1515
with:
1616
access_token: ${{ github.token }}
@@ -30,7 +30,7 @@ jobs:
3030
3131
- name: Add conda to system path
3232
run: echo $CONDA/bin >> $GITHUB_PATH
33-
33+
3434
- name: Checkout repo
3535
uses: actions/checkout@v2
3636
with:
@@ -44,15 +44,19 @@ jobs:
4444
4545
- name: Build kde_setuptools
4646
run: |
47+
source /opt/intel/oneapi/setvars.sh
48+
export OCL_ICD_FILENAMES=libintelocl.so
4749
pushd kde_setuptools
4850
python setup.py develop
4951
python -m pytest tests
50-
popd
52+
popd
5153
5254
- name: Build kde_skbuild
5355
run: |
56+
source /opt/intel/oneapi/setvars.sh
57+
export OCL_ICD_FILENAMES=libintelocl.so
5458
pushd kde_skbuild
5559
CC=icx CXX=icpx python setup.py develop -G Ninja \
5660
-- -DDPCTL_MODULE_PATH=$(python -m dpctl --cmakedir)
5761
python -m pytest tests
58-
popd
62+
popd

.github/workflows/ci.yaml~

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
name: Build sample data-parallel extensions

0 commit comments

Comments
 (0)