Skip to content

Commit 17d52b4

Browse files
committed
add gpu intel ci
1 parent ce922af commit 17d52b4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,23 @@ jobs:
111111
shell: bash -l {0}
112112
run: |
113113
./build/test/gtest/spblas-tests
114+
115+
intel-llvm-gpu:
116+
runs-on: 'gpu_intel'
117+
steps:
118+
- uses: actions/checkout@v4
119+
- name: CMake
120+
shell: bash -l {0}
121+
run: |
122+
module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl cmake
123+
cmake -B build -DCMAKE_CXX_COMPILER=icpx -DENABLE_ONEMKL_SYCL=ON
124+
- name: Build
125+
shell: bash -l {0}
126+
run: |
127+
module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl
128+
make -C build -j `nproc`
129+
- name: Test
130+
shell: bash -l {0}
131+
run: |
132+
module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl
133+
ONEMKL_DEVICE_SELECTOR=level_zero:gpu ./build/test/gtest/spblas-gpu-tests

0 commit comments

Comments
 (0)