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

Commit 3ce5b40

Browse files
committed
Add all-gpus workflow name that enables both cuda and level zero
1 parent b0c2312 commit 3ce5b40

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
conda env update -f omniscidb/scripts/mapd-deps-conda-dev-env.yml
6060
6161
- name: Install cuda
62-
if: inputs.name == 'cuda'
62+
if: inputs.name == 'cuda' || inputs.name == 'all-gpus'
6363
run: |
6464
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb
6565
sudo dpkg -i cuda-keyring_1.0-1_all.deb
@@ -68,7 +68,7 @@ jobs:
6868
conda install -n omnisci-dev -c conda-forge arrow-cpp-proc=4.0.0=cuda
6969
7070
- name: Install Intel GPU drivers
71-
if: inputs.name == 'l0'
71+
if: inputs.name == 'l0' || inputs.name == 'all-gpus'
7272
run: |
7373
wget https://github.com/oneapi-src/level-zero/releases/download/v1.9.4/level-zero-devel_1.9.4+u18.04_amd64.deb
7474
wget https://github.com/oneapi-src/level-zero/releases/download/v1.9.4/level-zero_1.9.4+u18.04_amd64.deb
@@ -77,9 +77,9 @@ jobs:
7777
wget https://github.com/intel/compute-runtime/releases/download/22.49.25018.24/intel-level-zero-gpu_1.3.25018.24_amd64.deb
7878
wget https://github.com/intel/compute-runtime/releases/download/22.49.25018.24/intel-opencl-icd_22.49.25018.24_amd64.deb
7979
wget https://github.com/intel/compute-runtime/releases/download/22.49.25018.24/libigdgmm12_22.3.0_amd64.deb
80-
sudo dpkg -i intel*.deb
8180
sudo dpkg -i libigdgmm*.deb
8281
sudo dpkg -i level-zero*.deb
82+
sudo dpkg -i intel*.deb
8383
conda install -n omnisci-dev -c conda-forge level-zero-devel pkg-config
8484
8585
- name: Restore Maven cache

.github/workflows/main.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,19 @@ jobs:
2424
with:
2525
name: cuda
2626
cuda_compiler_version: 12-0
27-
27+
2828
build-l0:
2929
uses: ./.github/workflows/build.yml
3030
with:
3131
name: l0
3232
options: -DENABLE_L0=on
3333

34+
build-both-l0-cuda:
35+
uses: ./.github/workflows/build.yml
36+
with:
37+
name: 'all-gpus'
38+
options: -DENABLE_L0=on -DENABLE_CUDA=on
39+
3440
style:
3541
needs: build
3642
uses: ./.github/workflows/test.yml

0 commit comments

Comments
 (0)