Skip to content

Commit 9f239fb

Browse files
committed
all gpus
1 parent b39f5de commit 9f239fb

File tree

2 files changed

+32
-31
lines changed

2 files changed

+32
-31
lines changed

.github/workflows/ur-build-hw.yml

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ jobs:
162162
# libstdc++-12-dev
163163
164164
- name: Install OpenCL
165+
if: ${{ inputs.adapter_name == 'OPENCL' }}
165166
run: |
166167
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
167168
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null

.github/workflows/ur-precommit.yml

+31-31
Original file line numberDiff line numberDiff line change
@@ -58,47 +58,47 @@ jobs:
5858
strategy:
5959
matrix:
6060
include:
61-
# - name: L0
62-
# runner: UR_L0
63-
# docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
64-
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
65-
# - name: L0_V2
66-
# runner: UR_L0
67-
# docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
68-
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
69-
# - name: L0
70-
# runner: UR_L0
71-
# docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
72-
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
73-
# static: ON
74-
# - name: L0
75-
# runner: UR_L0
76-
# docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
77-
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
78-
# other_adapter: NATIVE_CPU
79-
# - name: HIP
80-
# runner: UR_HIP
81-
# docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
82-
# image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --cap-add=SYS_ADMIN
83-
# - name: CUDA
84-
# runner: UR_CUDA
85-
# docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
86-
# image_options: -u 1001 --privileged --cap-add SYS_ADMIN --gpus all
61+
- name: L0
62+
runner: UR_L0
63+
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
64+
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
65+
- name: L0_V2
66+
runner: UR_L0
67+
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
68+
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
69+
- name: L0
70+
runner: UR_L0
71+
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
72+
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
73+
static: ON
74+
- name: L0
75+
runner: UR_L0
76+
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
77+
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
78+
other_adapter: NATIVE_CPU
79+
- name: HIP
80+
runner: UR_HIP
81+
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
82+
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --cap-add=SYS_ADMIN
83+
- name: CUDA
84+
runner: UR_CUDA
85+
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
86+
image_options: -u 1001 --privileged --cap-add SYS_ADMIN --gpus all
8787
- name: OPENCL
8888
runner: UR_OPENCL
8989
platform: "Intel(R) OpenCL"
9090
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
91-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
91+
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
9292
- name: OPENCL
9393
runner: UR_OPENCL
9494
platform: "OPENCL:Intel(R) OpenCL"
9595
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
9696
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
9797
other_adapter: NATIVE_CPU
98-
# - name: NATIVE_CPU
99-
# runner: UR_NATIVE_CPU
100-
# docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
101-
# image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
98+
- name: NATIVE_CPU
99+
runner: UR_NATIVE_CPU
100+
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
101+
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
102102

103103
# Extra native CPU jobs are here to force the loader to be used.
104104
# UR will not use the loader if there is only one target.

0 commit comments

Comments
 (0)