1
1
name : SYCL E2E Matrix on Nightly build
2
2
3
3
on :
4
- workflow_call :
4
+ workflow_dispatch :
5
5
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":""}'
14
12
15
13
jobs :
16
14
linux_e2e_on_nightly :
@@ -22,37 +20,49 @@ jobs:
22
20
- name : AMD/HIP
23
21
runner : ' ["Linux", "amdgpu"]'
24
22
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
27
24
target_devices : ext_oneapi_hip:gpu
28
- reset_gpu : false
29
25
30
- - name : Intel
26
+ - name : Intel L0 GPU
31
27
runner : ' ["Linux", "gen12"]'
32
28
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
36
31
reset_gpu : true
37
32
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
+
38
46
- name : ESIMD Emu
39
47
runner : ' ["Linux", "x86-cpu"]'
40
48
image : ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:latest
41
- extra_image_opts :
42
- extra_cmake_args :
49
+ image_options : -u 1001
43
50
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
45
57
uses : ./.github/workflows/sycl_linux_run_tests.yml
46
58
with :
47
59
name : ${{ matrix.name }}
48
60
runner : ${{ matrix. runner }}
49
61
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 }}
52
63
target_devices : ${{ matrix.target_devices }}
53
- ref : ${{ inputs.ref }}
54
64
reset_gpu : ${{ matrix.reset_gpu }}
55
- # TODO: should we do the merge?
65
+ env : ${{ inputs.env }}
56
66
merge_ref : ' '
57
67
58
68
aws_start :
@@ -61,22 +71,19 @@ jobs:
61
71
secrets : inherit
62
72
with :
63
73
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"}]'
65
75
66
76
linux_e2e_on_nightly_aws :
67
77
name : ' [AWS][CUDA] E2E on Nightly'
68
78
needs : [aws_start]
69
79
uses : ./.github/workflows/sycl_linux_run_tests.yml
70
80
with :
71
81
name : CUDA
72
- runner : ' ["aws-cuda_${{ inputs.uniq }}"]'
82
+ runner : ' ["aws-cuda_${{ github.run_id }}-${{ github.run_attempt }}"]'
73
83
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 }}
80
87
merge_ref : ' '
81
88
82
89
aws_stop :
87
94
secrets : inherit
88
95
with :
89
96
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