Skip to content

Commit a4ff977

Browse files
committed
Debug build of UR
1 parent fb18321 commit a4ff977

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
static_adapter: "${{inputs.static_loader}}"
8484
}
8585
]
86-
build_type: [Release]
86+
build_type: [Debug]
8787
compiler: [{c: gcc, cxx: g++}]
8888

8989
runs-on: ${{inputs.runner_name}}

.github/workflows/ur-precommit.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -48,47 +48,23 @@ jobs:
4848

4949
adapters:
5050
name: Adapters
51-
needs: [detect_changes, source_checks]
52-
if: ${{ always() && !cancelled() && contains(needs.detect_changes.outputs.filters, 'ur') }}
51+
needs: []
52+
if: ${{ always() }}
5353
strategy:
5454
fail-fast: false
5555
matrix:
5656
# Extra native CPU jobs are here to force the loader to be used.
5757
# UR will not use the loader if there is only one target.
5858
include:
59-
- name: L0
60-
runner: UR_L0
61-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
62-
- name: L0_V2
63-
runner: UR_L0
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
66-
runner: UR_L0
67-
static: ON
68-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
6959
- name: L0
7060
runner: UR_L0
7161
other_adapter: NATIVE_CPU
7262
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
73-
- name: HIP
74-
runner: UR_HIP
75-
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --cap-add=SYS_ADMIN
76-
- name: CUDA
77-
runner: UR_CUDA
78-
image_options: -u 1001 --privileged --cap-add SYS_ADMIN --gpus all
79-
- name: OPENCL
80-
runner: UR_OPENCL
81-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
82-
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
8363
- name: OPENCL
8464
runner: UR_OPENCL
8565
other_adapter: NATIVE_CPU
8666
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
8767
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
88-
- name: NATIVE_CPU
89-
runner: UR_NATIVE_CPU
90-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
91-
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
9268
uses: ./.github/workflows/ur-build-hw.yml
9369
with:
9470
adapter_name: ${{ matrix.name }}

0 commit comments

Comments
 (0)