Skip to content

Commit 4fa03a8

Browse files
[CI] Switch linux_matrix_e2e_on_nightly.yml to workflow_dispatch
1 parent f512779 commit 4fa03a8

File tree

1 file changed

+39
-32
lines changed

1 file changed

+39
-32
lines changed
Lines changed: 39 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
name: SYCL E2E Matrix on Nightly build
22

33
on:
4-
workflow_call:
4+
workflow_dispatch:
55
inputs:
6-
ref:
7-
type: string
8-
required: true
9-
uniq:
10-
description: Unique string to name dynamic runners in AWS
11-
type: string
12-
required: false
13-
default: ${{ github.run_id }}-${{ github.run_attempt }}
6+
env:
7+
description: |
8+
Suggested variables: for E2E tests - LIT_FILTER, LIT_FILTER_OUT.
9+
LIT_OPTS won't work as we redefine it as part of this workflow.
10+
Format: '{"VAR1":"VAL1","VAR2":"VAL2",...}'
11+
default: '{"LIT_FILTER":""}'
1412

1513
jobs:
1614
linux_e2e_on_nightly:
@@ -22,37 +20,49 @@ jobs:
2220
- name: AMD/HIP
2321
runner: '["Linux", "amdgpu"]'
2422
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build
25-
extra_image_opts: --device=/dev/kfd
26-
extra_cmake_args: -DHIP_PLATFORM="AMD" -DAMD_ARCH="gfx1031"
23+
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd
2724
target_devices: ext_oneapi_hip:gpu
28-
reset_gpu: false
2925

30-
- name: Intel
26+
- name: Intel L0 GPU
3127
runner: '["Linux", "gen12"]'
3228
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:latest
33-
extra_image_opts:
34-
extra_cmake_args:
35-
target_devices: ext_oneapi_level_zero:gpu;opencl:gpu;opencl:cpu
29+
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
30+
target_devices: ext_oneapi_level_zero:gpu
3631
reset_gpu: true
3732

33+
- name: Intel OCL GPU
34+
runner: '["Linux", "gen12"]'
35+
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:latest
36+
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
37+
target_devices: opencl:gpu
38+
reset_gpu: true
39+
40+
- name: OCL CPU
41+
runner: '["Linux", "x86-cpu"]'
42+
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:latest
43+
image_options: -u 1001
44+
target_devices: opencl:cpu
45+
3846
- name: ESIMD Emu
3947
runner: '["Linux", "x86-cpu"]'
4048
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:latest
41-
extra_image_opts:
42-
extra_cmake_args:
49+
image_options: -u 1001
4350
target_devices: ext_intel_esimd_emulator:gpu
44-
reset_gpu: false
51+
52+
- name: Self-hosted CUDA
53+
runner: '["Linux", "cuda"]'
54+
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build
55+
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
56+
target_devices: ext_oneapi_cuda:gpu
4557
uses: ./.github/workflows/sycl_linux_run_tests.yml
4658
with:
4759
name: ${{ matrix.name }}
4860
runner: ${{ matrix. runner }}
4961
image: ${{ matrix.image }}
50-
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN ${{ matrix.extra_image_opts }}
51-
extra_cmake_args: ${{ matrix.extra_cmake_args }}
62+
image_options: ${{ matrix.image_options }}
5263
target_devices: ${{ matrix.target_devices }}
53-
ref: ${{ inputs.ref }}
5464
reset_gpu: ${{ matrix.reset_gpu }}
55-
# TODO: should we do the merge?
65+
env: ${{ inputs.env }}
5666
merge_ref: ''
5767

5868
aws_start:
@@ -61,22 +71,19 @@ jobs:
6171
secrets: inherit
6272
with:
6373
mode: start
64-
runs-on-list: '[{"runs-on":"aws-cuda_${{ inputs.uniq }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
74+
runs-on-list: '[{"runs-on":"aws-cuda_${{ github.run_id }}-${{ github.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
6575

6676
linux_e2e_on_nightly_aws:
6777
name: '[AWS][CUDA] E2E on Nightly'
6878
needs: [aws_start]
6979
uses: ./.github/workflows/sycl_linux_run_tests.yml
7080
with:
7181
name: CUDA
72-
runner: '["aws-cuda_${{ inputs.uniq }}"]'
82+
runner: '["aws-cuda_${{ github.run_id }}-${{ github.run_attempt }}"]'
7383
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build
74-
image_options: --device=/dev/dri --privileged --cap-add SYS_ADMIN --gpus all
75-
extra_cmake_args:
76-
target_devices: all
77-
ref: ${{ inputs.ref }}
78-
reset_gpu: false
79-
# TODO: should we do the merge?
84+
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
85+
target_devices: ext_oneapi_cuda:gpu
86+
env: ${{ inputs.env }}
8087
merge_ref: ''
8188

8289
aws_stop:
@@ -87,4 +94,4 @@ jobs:
8794
secrets: inherit
8895
with:
8996
mode: stop
90-
runs-on-list: '[{"runs-on":"aws-cuda_${{ inputs.uniq }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
97+
runs-on-list: '[{"runs-on":"aws-cuda_${{ github.run_id }}-${{ github.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'

0 commit comments

Comments
 (0)