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

Add conda flow for intel gpus #360

Merged
merged 1 commit into from
Apr 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ jobs:
sudo apt-get install cuda-nvcc-${{ inputs.cuda_compiler_version }}
conda install -n omnisci-dev -c conda-forge arrow-cpp-proc=4.0.0=cuda

- name: Install Intel GPU drivers
if: inputs.name == 'l0'
run: |
wget https://github.com/oneapi-src/level-zero/releases/download/v1.9.4/level-zero-devel_1.9.4+u18.04_amd64.deb
wget https://github.com/oneapi-src/level-zero/releases/download/v1.9.4/level-zero_1.9.4+u18.04_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.12812.24/intel-igc-core_1.0.12812.24_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.12812.24/intel-igc-opencl_1.0.12812.24_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/22.49.25018.24/intel-level-zero-gpu_1.3.25018.24_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/22.49.25018.24/libigdgmm12_22.3.0_amd64.deb
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
conda install -n omnisci-dev -c conda-forge level-zero-devel pkg-config

- name: Restore Maven cache
uses: actions/cache@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
cuda_compiler_version: 12-0
options: -DENABLE_CUDA=on

build-l0:
uses: ./.github/workflows/build.yml
with:
name: l0
options: -DENABLE_L0=on

style:
needs: build
uses: ./.github/workflows/test.yml
Expand Down