Skip to content

Commit 07788c5

Browse files
gpu all
1 parent daf7331 commit 07788c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ur-precommit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: HIP
8080
runner: UR_HIP
8181
docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
82-
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --cap-add=SYS_ADMIN
82+
image_options: -u 1001 --device=/dev/dri --gpus all --device=/dev/kfd --cap-add=SYS_ADMIN
8383
- name: CUDA
8484
runner: UR_CUDA
8585
docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
@@ -88,12 +88,12 @@ jobs:
8888
runner: UR_OPENCL
8989
platform: "Intel(R) OpenCL"
9090
docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
91-
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
91+
image_options: -u 1001 --device=/dev/dri --gpus all --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/ubuntu2404_intel_drivers:alldeps"
96-
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
96+
image_options: -u 1001 --device=/dev/dri --gpus all --device=/dev/kfd --privileged --cap-add SYS_ADMIN
9797
other_adapter: NATIVE_CPU
9898
- name: NATIVE_CPU
9999
runner: UR_NATIVE_CPU

0 commit comments

Comments
 (0)