Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 75cb2cd

Browse files
committed
Add conda build flow for intel gpus
1 parent 99c77f7 commit 75cb2cd

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/build.yml

+12
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ jobs:
6767
sudo apt-get install cuda-nvcc-${{ inputs.cuda_compiler_version }}
6868
conda install -n omnisci-dev -c conda-forge arrow-cpp-proc=4.0.0=cuda
6969
70+
- name: Install Intel GPU drivers
71+
if: inputs.name == 'l0'
72+
run: |
73+
wget https://github.com/oneapi-src/level-zero/releases/download/v1.9.4/level-zero-devel_1.9.4+u18.04_amd64.deb
74+
wget https://github.com/oneapi-src/level-zero/releases/download/v1.9.4/level-zero_1.9.4+u18.04_amd64.deb
75+
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.12812.24/intel-igc-core_1.0.12812.24_amd64.deb
76+
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.12812.24/intel-igc-opencl_1.0.12812.24_amd64.deb
77+
wget https://github.com/intel/compute-runtime/releases/download/22.49.25018.24/intel-level-zero-gpu_1.3.25018.24_amd64.deb
78+
wget https://github.com/intel/compute-runtime/releases/download/22.49.25018.24/libigdgmm12_22.3.0_amd64.deb
79+
sudo dpkg -i intel-igc-core_1.0.12812.24_amd64.deb intel-level-zero-gpu_1.3.25018.24_amd64.deb libigdgmm12_22.3.0_amd64.deb intel-igc-opencl_1.0.12812.24_amd64.deb
80+
conda install -n omnisci-dev -c conda-forge level-zero-devel pkg-config
81+
7082
- name: Restore Maven cache
7183
uses: actions/cache@v3
7284
with:

.github/workflows/main.yml

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
cuda_compiler_version: 12-0
2727
options: -DENABLE_CUDA=on
2828

29+
build-l0:
30+
uses: ./.github/workflows/build.yml
31+
with:
32+
name: l0
33+
options: -DENABLE_L0=on
34+
2935
style:
3036
needs: build
3137
uses: ./.github/workflows/test.yml

0 commit comments

Comments
 (0)