Skip to content

Commit c8a8cc7

Browse files
committed
add gpu intel ci
1 parent ce922af commit c8a8cc7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,21 @@ 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 cmake
123+
cmake -B build -DCMAKE_CXX_COMPILER=icpx -DENABLE_ONEMKL_SYCL=ON
124+
- name: Build
125+
shell: bash -l {0}
126+
run: |
127+
make -C build -j `nproc`
128+
- name: Test
129+
shell: bash -l {0}
130+
run: |
131+
ONEMKL_DEVICE_SELECTOR=level_zero:gpu ./build/test/gtest/spblas-gpu-tests

0 commit comments

Comments
 (0)