Skip to content

Commit 42021a7

Browse files
committed
[SYCL][CI] Update workflow files
This is an attempt to fix pre-commit on `sycl-rel-6_1_0` branch by updating all workflow files to make then in sync with `sycl` branch.
1 parent 556e1a2 commit 42021a7

File tree

117 files changed

+9656
-930
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+9656
-930
lines changed

.github/CODEOWNERS

Lines changed: 45 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,22 @@ sycl/doc/design/spirv-extensions/ @intel/dpcpp-spirv-doc-reviewers
3535
sycl/doc/extensions/ @intel/dpcpp-specification-reviewers
3636

3737
# Unified Runtime
38+
unified-runtime/ @intel/unified-runtime-reviewers
39+
# TODO: Use specific UR Level Zero adapter team
40+
unified-runtime/*/adapters/level_zero/ @intel/unified-runtime-reviewers
41+
# TODO: Use specific UR OpenCL adapter team
42+
unified-runtime/*/adapters/opencl/ @intel/unified-runtime-reviewers
43+
unified-runtime/*/adapters/cuda/ @intel/llvm-reviewers-cuda
44+
unified-runtime/*/adapters/hip/ @intel/llvm-reviewers-cuda
45+
unified-runtime/*/adapters/native_cpu/ @intel/dpcpp-nativecpu-reviewers
46+
unified-runtime/source/adapters/**/command_buffer.* @intel/sycl-graphs-reviewers
47+
unified-runtime/scripts/core/EXP-COMMAND-BUFFER.rst @intel/sycl-graphs-reviewers
48+
unified-runtime/scripts/core/exp-command-buffer.yml @intel/sycl-graphs-reviewers
49+
unified-runtime/test/conformance/exp_command_buffer** @intel/sycl-graphs-reviewers
50+
unified-runtime/source/adapters/**/image.* @intel/bindless-images-reviewers
51+
unified-runtime/scripts/core/EXP-BINDLESS-IMAGES.rst @intel/bindless-images-reviewers
52+
unified-runtime/scripts/core/exp-bindless-images.yml @intel/bindless-images-reviewers
53+
unified-runtime/test/conformance/exp_bindless_images** @intel/bindless-images-reviewers
3854
sycl/cmake/modules/FetchUnifiedRuntime.cmake @intel/unified-runtime-reviewers
3955
sycl/cmake/modules/UnifiedRuntimeTag.cmake @intel/unified-runtime-reviewers
4056
sycl/include/sycl/detail/ur.hpp @intel/unified-runtime-reviewers
@@ -47,12 +63,18 @@ sycl/test-e2e/Adapters/ @intel/unified-runtime-reviewers
4763
sycl/ur_win_proxy_loader @intel/llvm-reviewers-runtime
4864
sycl/test-e2e/Adapters/dll-detach-order.cpp @intel/llvm-reviewers-runtime
4965

50-
# CUDA specific runtime implementations
66+
# CUDA and HIP
5167
sycl/include/sycl/ext/oneapi/experimental/cuda/ @intel/llvm-reviewers-cuda
52-
53-
# CUDA and HIP device code tests
5468
sycl/test/check_device_code/cuda/ @intel/llvm-reviewers-cuda
5569
sycl/test/check_device_code/hip/ @intel/llvm-reviewers-cuda
70+
llvm/include/llvm/SYCLLowerIR/GlobalOffset.h @intel/llvm-reviewers-cuda
71+
llvm/lib/SYCLLowerIR/GlobalOffset.cpp @intel/llvm-reviewers-cuda
72+
llvm/include/llvm/SYCLLowerIR/LocalAccessorToSharedMemory.h @intel/llvm-reviewers-cuda
73+
llvm/lib/SYCLLowerIR/LocalAccessorToSharedMemory.cpp @intel/llvm-reviewers-cuda
74+
llvm/include/llvm/SYCLLowerIR/SYCLCreateNVVMAnnotations.h @intel/llvm-reviewers-cuda
75+
llvm/lib/SYCLLowerIR/SYCLCreateNVVMAnnotations.cpp @intel/llvm-reviewers-cuda
76+
llvm/lib/Target/NVPTX @intel/llvm-reviewers-cuda
77+
llvm/lib/Target/AMDGPU @intel/llvm-reviewers-cuda
5678

5779
# XPTI instrumentation utilities
5880
xpti/ @intel/llvm-reviewers-runtime
@@ -106,6 +128,9 @@ devops/ @intel/dpcpp-devops-reviewers
106128
# dev-igc driver update
107129
devops/dependencies-igc-dev.json @intel/sycl-matrix-reviewers @intel/dpcpp-esimd-reviewers @intel/dpcpp-devops-reviewers
108130

131+
# Benchmarking scripts
132+
devops/scripts/benchmarks/ @intel/llvm-reviewers-benchmarking
133+
109134
# Kernel fusion JIT compiler
110135
sycl-jit/ @intel/dpcpp-kernel-fusion-reviewers
111136
sycl/doc/design/KernelFusionJIT.md @intel/dpcpp-kernel-fusion-reviewers
@@ -126,14 +151,14 @@ sycl/test/matrix @intel/sycl-matrix-reviewers
126151
sycl/test/check_device_code/matrix @intel/sycl-matrix-reviewers
127152

128153
# Native CPU
129-
llvm/**/*SYCLNativeCPU* @intel/dpcpp-nativecpu-pi-reviewers
130-
clang/include/clang/Basic/SYCLNativeCPUHelpers.h @intel/dpcpp-nativecpu-pi-reviewers
131-
clang/test/CodeGenSYCL/native_cpu*.cpp @intel/dpcpp-nativecpu-pi-reviewers
132-
clang/test/Driver/sycl-native-cpu*.cpp @intel/dpcpp-nativecpu-pi-reviewers
133-
sycl/**/native_cpu/ @intel/dpcpp-nativecpu-pi-reviewers
134-
sycl/doc/design/SYCLNativeCPU.md @intel/dpcpp-nativecpu-pi-reviewers
135-
sycl/include/sycl/detail/native_cpu.hpp @intel/dpcpp-nativecpu-pi-reviewers
136-
libdevice/nativecpu* @intel/dpcpp-nativecpu-pi-reviewers
154+
llvm/**/*SYCLNativeCPU* @intel/dpcpp-nativecpu-reviewers
155+
clang/include/clang/Basic/SYCLNativeCPUHelpers.h @intel/dpcpp-nativecpu-reviewers
156+
clang/test/CodeGenSYCL/native_cpu*.cpp @intel/dpcpp-nativecpu-reviewers
157+
clang/test/Driver/sycl-native-cpu*.cpp @intel/dpcpp-nativecpu-reviewers
158+
sycl/**/native_cpu/ @intel/dpcpp-nativecpu-reviewers
159+
sycl/doc/design/SYCLNativeCPU.md @intel/dpcpp-nativecpu-reviewers
160+
sycl/include/sycl/detail/native_cpu.hpp @intel/dpcpp-nativecpu-reviewers
161+
libdevice/nativecpu* @intel/dpcpp-nativecpu-reviewers
137162

138163
# SYCL-Graphs extensions
139164
sycl/include/sycl/ext/oneapi/experimental/graph.hpp @intel/sycl-graphs-reviewers
@@ -170,11 +195,20 @@ sycl/test-e2e/LLVMIntrinsicLowering/ @intel/dpcpp-spirv-reviewers
170195
# Sanitizer
171196
clang/lib/Driver/SanitizerArgs.cpp @intel/dpcpp-sanitizers-review
172197
libdevice/include/asan_rtl.hpp @intel/dpcpp-sanitizers-review
198+
libdevice/include/msan_rtl.hpp @intel/dpcpp-sanitizers-review
173199
libdevice/include/sanitizer_defs.hpp @intel/dpcpp-sanitizers-review
174200
libdevice/sanitizer/ @intel/dpcpp-sanitizers-review
175201
llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h @intel/dpcpp-sanitizers-review
176202
llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h @intel/dpcpp-sanitizers-review
177203
llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerOptions.h @intel/dpcpp-sanitizers-review
204+
llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h @intel/dpcpp-sanitizers-review
205+
llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h @intel/dpcpp-sanitizers-review
178206
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp @intel/dpcpp-sanitizers-review
207+
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp @intel/dpcpp-sanitizers-review
208+
llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp @intel/dpcpp-sanitizers-review
179209
llvm/test/Instrumentation/AddressSanitizer/ @intel/dpcpp-sanitizers-review
210+
llvm/test/Instrumentation/MemorySanitizer/ @intel/dpcpp-sanitizers-review
211+
llvm/test/Instrumentation/ThreadSanitizer/ @intel/dpcpp-sanitizers-review
180212
sycl/test-e2e/AddressSanitizer/ @intel/dpcpp-sanitizers-review
213+
sycl/test-e2e/MemorySanitizer/ @intel/dpcpp-sanitizers-review
214+
sycl/test-e2e/ThreadSanitizer/ @intel/dpcpp-sanitizers-review

.github/new-issues-labeler.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,12 @@
2727

2828
'bolt':
2929
- '/\bbolt(?!\-)\b/i'
30+
31+
'infra:commit-access-request':
32+
- '/Request Commit Access/'
33+
34+
'false-positive':
35+
- '\bfalse[- ]positive\b'
36+
37+
'false-negative':
38+
- '\bfalse[- ]negative\b'

.github/new-prs-labeler.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,12 @@ llvm:ir:
587587
- llvm/docs/LangRef.rst
588588
- llvm/unittests/IR/**
589589

590+
llvm:SandboxIR:
591+
- llvm/lib/SandboxIR/**
592+
- llvm/include/llvm/SandboxIR/**
593+
- llvm/docs/SandboxIR.md
594+
- llvm/unittests/SandboxIR/**
595+
590596
llvm:analysis:
591597
- llvm/lib/Analysis/**
592598
- llvm/include/llvm/Analysis/**
@@ -605,6 +611,14 @@ llvm:transforms:
605611
- llvm/test/Transforms/**
606612
- llvm/unittests/Transforms/**
607613

614+
llvm:instcombine:
615+
- llvm/lib/Analysis/InstructionSimplify.cpp
616+
- llvm/lib/Transforms/InstCombine/**
617+
- llvm/include/llvm/Transforms/InstCombine/
618+
- llvm/include/llvm/Analysis/InstructionSimplify.h
619+
- llvm/test/Transforms/InstCombine/**
620+
- llvm/test/Transforms/InstSimplify/**
621+
608622
clangd:
609623
- clang-tools-extra/clangd/**
610624

@@ -647,6 +661,11 @@ backend:DirectX:
647661

648662
backend:SPIR-V:
649663
- clang/lib/Driver/ToolChains/SPIRV.*
664+
- clang/lib/Sema/SemaSPIRV.cpp
665+
- clang/include/clang/Sema/SemaSPIRV.h
666+
- clang/include/clang/Basic/BuiltinsSPIRV.td
667+
- clang/test/CodeGenSPIRV/**
668+
- clang/test/SemaSPIRV/**
650669
- llvm/lib/Target/SPIRV/**
651670
- llvm/test/CodeGen/SPIRV/**
652671
- llvm/test/Frontend/HLSL/**
@@ -733,6 +752,12 @@ backend:RISC-V:
733752
- llvm/**/*riscv*
734753
- llvm/**/*RISCV*
735754

755+
backend:Xtensa:
756+
- clang/**/*xtensa*
757+
- clang/**/*Xtensa*
758+
- llvm/**/*xtensa*
759+
- llvm/**/*Xtensa*
760+
736761
lld:coff:
737762
- lld/**/COFF/**
738763
- lld/Common/**

.github/workflows/bandit.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Scan Python code with Bandit
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 3 * * *'
7+
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
bandit:
14+
name: Bandit
15+
runs-on: ubuntu-latest
16+
permissions:
17+
security-events: write
18+
19+
steps:
20+
- name: Clone the git repo
21+
uses: actions/checkout@v4
22+
23+
- name: Install Bandit
24+
run: pip install bandit bandit-sarif-formatter
25+
26+
- name: Run Bandit
27+
run: |
28+
bandit -c devops/bandit.config -r . --exit-zero -f sarif -o bandit_results.sarif
29+
30+
- uses: github/codeql-action/upload-sarif@v3
31+
with:
32+
sarif_file: bandit_results.sarif
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: Build Windows CI Container
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- .github/workflows/build-ci-container-windows.yml
12+
- '.github/workflows/containers/github-action-ci-windows/**'
13+
pull_request:
14+
branches:
15+
- main
16+
paths:
17+
- .github/workflows/build-ci-container-windows.yml
18+
- '.github/workflows/containers/github-action-ci-windows/**'
19+
20+
jobs:
21+
build-ci-container-windows:
22+
if: github.repository_owner == 'llvm'
23+
runs-on: windows-2019
24+
outputs:
25+
container-name: ${{ steps.vars.outputs.container-name }}
26+
container-name-tag: ${{ steps.vars.outputs.container-name-tag }}
27+
container-filename: ${{ steps.vars.outputs.container-filename }}
28+
steps:
29+
- name: Checkout LLVM
30+
uses: actions/checkout@v4
31+
with:
32+
sparse-checkout: .github/workflows/containers/github-action-ci-windows
33+
- name: Write Variables
34+
id: vars
35+
run: |
36+
$tag = [int64](Get-Date -UFormat %s)
37+
$container_name="ghcr.io/$env:GITHUB_REPOSITORY_OWNER/ci-windows-2019"
38+
echo "container-name=${container_name}" >> $env:GITHUB_OUTPUT
39+
echo "container-name-tag=${container_name}:${tag}" >> $env:GITHUB_OUTPUT
40+
echo "container-filename=ci-windows-${tag}.tar" >> $env:GITHUB_OUTPUT
41+
- name: Build Container
42+
working-directory: .github/workflows/containers/github-action-ci-windows
43+
run: |
44+
docker build -t ${{ steps.vars.outputs.container-name-tag }} .
45+
- name: Save container image
46+
run: |
47+
docker save ${{ steps.vars.outputs.container-name-tag }} > ${{ steps.vars.outputs.container-filename }}
48+
- name: Upload container image
49+
uses: actions/upload-artifact@v4
50+
with:
51+
name: container
52+
path: ${{ steps.vars.outputs.container-filename }}
53+
retention-days: 14
54+
55+
push-ci-container:
56+
if: github.event_name == 'push'
57+
needs:
58+
- build-ci-container-windows
59+
permissions:
60+
packages: write
61+
runs-on: windows-2019
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
steps:
65+
- name: Download container
66+
uses: actions/download-artifact@v4
67+
with:
68+
name: container
69+
- name: Push Container
70+
run: |
71+
docker load -i ${{ needs.build-ci-container-windows.outputs.container-filename }}
72+
docker tag ${{ needs.build-ci-container-windows.outputs.container-name-tag }} ${{ needs.build-ci-container-windows.outputs.container-name }}:latest
73+
docker login -u ${{ github.actor }} -p $env:GITHUB_TOKEN ghcr.io
74+
docker push ${{ needs.build-ci-container-windows.outputs.container-name-tag }}
75+
docker push ${{ needs.build-ci-container-windows.outputs.container-name }}:latest

0 commit comments

Comments
 (0)