Skip to content

Commit 105d495

Browse files
committed
Merge branch 'sycl' into move-atomic-builtin-to-SPIRVBuiltins.td
2 parents e630132 + 7d40de9 commit 105d495

File tree

548 files changed

+17783
-5131
lines changed

Some content is hidden

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

548 files changed

+17783
-5131
lines changed

.github/CODEOWNERS

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,18 @@ sycl/test-e2e/Adapters/ @intel/unified-runtime-reviewers
6363
sycl/ur_win_proxy_loader @intel/llvm-reviewers-runtime
6464
sycl/test-e2e/Adapters/dll-detach-order.cpp @intel/llvm-reviewers-runtime
6565

66-
# CUDA specific runtime implementations
66+
# CUDA and HIP
6767
sycl/include/sycl/ext/oneapi/experimental/cuda/ @intel/llvm-reviewers-cuda
68-
69-
# CUDA and HIP device code tests
7068
sycl/test/check_device_code/cuda/ @intel/llvm-reviewers-cuda
7169
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
7278

7379
# XPTI instrumentation utilities
7480
xpti/ @intel/llvm-reviewers-runtime
@@ -122,6 +128,9 @@ devops/ @intel/dpcpp-devops-reviewers
122128
# dev-igc driver update
123129
devops/dependencies-igc-dev.json @intel/sycl-matrix-reviewers @intel/dpcpp-esimd-reviewers @intel/dpcpp-devops-reviewers
124130

131+
# Benchmarking scripts
132+
devops/scripts/benchmarks/ @intel/llvm-reviewers-benchmarking
133+
125134
# Kernel fusion JIT compiler
126135
sycl-jit/ @intel/dpcpp-kernel-fusion-reviewers
127136
sycl/doc/design/KernelFusionJIT.md @intel/dpcpp-kernel-fusion-reviewers
@@ -202,3 +211,4 @@ llvm/test/Instrumentation/MemorySanitizer/ @intel/dpcpp-sanitizers-review
202211
llvm/test/Instrumentation/ThreadSanitizer/ @intel/dpcpp-sanitizers-review
203212
sycl/test-e2e/AddressSanitizer/ @intel/dpcpp-sanitizers-review
204213
sycl/test-e2e/MemorySanitizer/ @intel/dpcpp-sanitizers-review
214+
sycl/test-e2e/ThreadSanitizer/ @intel/dpcpp-sanitizers-review

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
fetch-depth: 1
6666
- name: Get subprojects that have doc changes
6767
id: docs-changed-subprojects
68-
uses: tj-actions/changed-files@v45
68+
uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1
6969
with:
7070
files_yaml: |
7171
llvm:

.github/workflows/pr-code-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Get changed files
3636
id: changed-files
37-
uses: tj-actions/changed-files@v45
37+
uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1
3838
with:
3939
separator: ","
4040
skip_initial_fetch: true

.github/workflows/sycl-detect-changes.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
- 'sycl/test-e2e/(ESIMD|InvokeSimd)/**'
7575
ur:
7676
- 'unified-runtime/**'
77+
- .github/workflows/ur-*
7778
7879
- name: Set output
7980
id: result

.github/workflows/sycl-linux-build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ jobs:
167167
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
168168
-DLLVM_INSTALL_UTILS=ON \
169169
-DNATIVECPU_USE_OCK=Off \
170-
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=SPIRV \
171-
--level_zero_v1_and_v2
170+
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=SPIRV
172171
- name: Compile
173172
id: build
174173
run: cmake --build $GITHUB_WORKSPACE/build --target sycl-toolchain

.github/workflows/sycl-linux-precommit.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
paths-ignore:
1313
- '.github/ISSUE_TEMPLATE/**'
1414
- '.github/CODEOWNERS'
15+
- 'sycl/cts_exclude_filter/**'
1516
- 'sycl/doc/**'
1617
- 'sycl/gdb/**'
1718
- 'clang/docs/**'
@@ -77,13 +78,7 @@ jobs:
7778
- name: Intel Arc A-Series Graphics
7879
runner: '["Linux", "arc"]'
7980
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
80-
target_devices: level_zero:gpu;opencl:gpu
81-
reset_intel_gpu: true
82-
extra_lit_opts: --param matrix-xmx8=True
83-
- name: Intel Arc A-Series Graphics for L0 V2 adapter
84-
runner: '["Linux", "arc"]'
85-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
86-
target_devices: level_zero_v2:gpu
81+
target_devices: level_zero:gpu;opencl:gpu;level_zero_v2:gpu
8782
reset_intel_gpu: true
8883
extra_lit_opts: --param matrix-xmx8=True
8984
- name: E2E tests with dev igc on Intel Arc A-Series Graphics

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ jobs:
322322
uses: ./devops/actions/run-tests/cts
323323
with:
324324
ref: ${{ inputs.tests_ref || 'main' }}
325+
cts_exclude_ref: ${{ inputs.repo_ref }}
325326
extra_cmake_args: ${{ inputs.extra_cmake_args }}
326327
cts_testing_mode: ${{ inputs.cts_testing_mode }}
327328
sycl_cts_artifact: ${{ inputs.sycl_cts_artifact }}

.github/workflows/sycl-nightly.yml

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,12 @@ jobs:
202202
with:
203203
mode: stop
204204

205-
build-sycl-cts:
205+
build-sycl-cts-linux:
206206
needs: ubuntu2204_build
207207
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
208208
uses: ./.github/workflows/sycl-linux-run-tests.yml
209209
with:
210-
name: Build SYCL-CTS
210+
name: Build SYCL-CTS for Linux
211211
runner: '["Linux", "build"]'
212212
cts_testing_mode: 'build-only'
213213
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
@@ -216,9 +216,10 @@ jobs:
216216
sycl_toolchain_artifact: sycl_linux_default
217217
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
218218
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
219+
sycl_cts_artifact: sycl_cts_bin_linux
219220

220-
run-sycl-cts:
221-
needs: [ubuntu2204_build, build-sycl-cts]
221+
run-sycl-cts-linux:
222+
needs: [ubuntu2204_build, build-sycl-cts-linux]
222223
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
223224
strategy:
224225
fail-fast: false
@@ -245,7 +246,41 @@ jobs:
245246
sycl_toolchain_artifact: sycl_linux_default
246247
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
247248
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
248-
sycl_cts_artifact: sycl_cts_bin
249+
sycl_cts_artifact: sycl_cts_bin_linux
250+
251+
build-sycl-cts-win:
252+
needs: build-win
253+
if: ${{ always() && !cancelled() && needs.build-win.outputs.build_conclusion == 'success' }}
254+
uses: ./.github/workflows/sycl-windows-run-tests.yml
255+
with:
256+
name: Build SYCL-CTS for Windows
257+
runner: '["Windows", "build-e2e"]'
258+
cts_testing_mode: 'build-only'
259+
tests_selector: cts
260+
repo_ref: ${{ github.sha }}
261+
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
262+
sycl_cts_artifact: sycl_cts_bin_win
263+
264+
run-sycl-cts-win:
265+
needs: [build-win, build-sycl-cts-win]
266+
if: ${{ always() && !cancelled() && needs.build-win.outputs.build_conclusion == 'success' }}
267+
strategy:
268+
fail-fast: false
269+
matrix:
270+
include:
271+
- name: SYCL-CTS on L0 gen12
272+
runner: '["Windows", "gen12"]'
273+
target_devices: level_zero:gpu
274+
uses: ./.github/workflows/sycl-windows-run-tests.yml
275+
with:
276+
name: ${{ matrix.name }}
277+
runner: ${{ matrix.runner }}
278+
cts_testing_mode: 'run-only'
279+
target_devices: ${{ matrix.target_devices }}
280+
tests_selector: cts
281+
repo_ref: ${{ github.sha }}
282+
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
283+
sycl_cts_artifact: sycl_cts_bin_win
249284

250285
aggregate_benchmark_results:
251286
if: github.repository == 'intel/llvm' && !cancelled()

.github/workflows/sycl-post-commit.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ concurrency:
2929
permissions: read-all
3030

3131
jobs:
32+
detect_changes:
33+
if: ${{ github.event_name == 'pull_request' }}
34+
uses: ./.github/workflows/sycl-detect-changes.yml
35+
3236
build-lin:
3337
name: Linux (Self build + no-assertions)
3438
if: github.repository == 'intel/llvm'
@@ -40,7 +44,7 @@ jobs:
4044
build_configure_extra_args: --no-assertions --hip --cuda --native_cpu -DSYCL_ENABLE_STACK_PRINTING=ON -DSYCL_LIB_WITH_DEBUG_SYMBOL=ON
4145

4246
e2e-lin:
43-
needs: [build-lin]
47+
needs: [detect_changes, build-lin]
4448
if: ${{ always() && !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }}
4549
strategy:
4650
fail-fast: false
@@ -94,6 +98,13 @@ jobs:
9498
sycl_toolchain_archive: ${{ needs.build-lin.outputs.artifact_archive_name }}
9599
sycl_toolchain_decompress_command: ${{ needs.build-lin.outputs.artifact_decompress_command }}
96100

101+
# Do not install drivers on AMD and CUDA runners.
102+
install_igc_driver: >-
103+
${{ github.event_name == 'pull_request' }} &&
104+
${{ !contains(matrix.target_devices, 'cuda') &&
105+
!contains(matrix.target_devices, 'hip') &&
106+
contains(needs.detect_changes.outputs.filters, 'drivers') }}
107+
97108
build-win:
98109
if: |
99110
always()

.github/workflows/sycl-rel-nightly.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
with:
23-
ref: sycl-rel-6_0_0
23+
ref: sycl-rel-6_1_0
2424
- run: git show --quiet | tee -a $GITHUB_STEP_SUMMARY
2525

2626
- id: is_new_commit
@@ -40,7 +40,7 @@ jobs:
4040
build_artifact_suffix: default
4141
build_configure_extra_args: '--hip --cuda'
4242
build_image: ghcr.io/intel/llvm/ubuntu2204_build:latest
43-
build_ref: sycl-rel-6_0_0
43+
build_ref: sycl-rel-6_1_0
4444

4545
# We upload the build for people to download/use, override its name and
4646
# prefer widespread gzip compression.
@@ -89,7 +89,7 @@ jobs:
8989
tests_selector: ${{ matrix.tests_selector }}
9090
extra_lit_opts: ${{ matrix.extra_lit_opts }}
9191
reset_intel_gpu: ${{ matrix.reset_intel_gpu }}
92-
repo_ref: sycl-rel-6_0_0
92+
repo_ref: sycl-rel-6_1_0
9393
devops_ref: sycl
9494
sycl_toolchain_artifact: sycl_linux_default
9595
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
@@ -100,7 +100,7 @@ jobs:
100100
if: ${{ github.repository == 'intel/llvm' && needs.check_for_new_commits.outputs.is_new_commit != 'false' }}
101101
uses: ./.github/workflows/sycl-windows-build.yml
102102
with:
103-
ref: sycl-rel-6_0_0
103+
ref: sycl-rel-6_1_0
104104

105105
# We upload both Linux/Windows build via Github's "Releases"
106106
# functionality, make sure Linux/Windows names follow the same pattern.
@@ -119,7 +119,7 @@ jobs:
119119
runner: '["Windows","gen12"]'
120120
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
121121
extra_lit_opts: --param gpu-intel-gen12=True
122-
ref: sycl-rel-6_0_0
122+
repo_ref: sycl-rel-6_1_0
123123
devops_ref: sycl
124124

125125
cuda-aws-start:
@@ -129,7 +129,7 @@ jobs:
129129
secrets: inherit
130130
with:
131131
mode: start
132-
ref: sycl-rel-6_0_0
132+
ref: sycl-rel-6_1_0
133133

134134
cuda-run-tests:
135135
needs: [ubuntu2204_build, cuda-aws-start]
@@ -141,7 +141,7 @@ jobs:
141141
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
142142
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
143143
target_devices: cuda:gpu
144-
repo_ref: sycl-rel-6_0_0
144+
repo_ref: sycl-rel-6_1_0
145145
devops_ref: sycl
146146

147147
sycl_toolchain_artifact: sycl_linux_default
@@ -155,7 +155,7 @@ jobs:
155155
secrets: inherit
156156
with:
157157
mode: stop
158-
ref: sycl-rel-6_0_0
158+
ref: sycl-rel-6_1_0
159159

160160
build-sycl-cts:
161161
needs: ubuntu2204_build
@@ -167,11 +167,13 @@ jobs:
167167
cts_testing_mode: 'build-only'
168168
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
169169
tests_selector: cts
170-
repo_ref: sycl-rel-6_0_0
170+
repo_ref: sycl-rel-6_1_0
171171
devops_ref: sycl
172+
tests_ref: ead7474b9cb2189ce48025550912ccad5a72bd30
172173
sycl_toolchain_artifact: sycl_linux_default
173174
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
174175
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
176+
sycl_cts_artifact: sycl_cts_bin_linux
175177

176178
run-sycl-cts:
177179
needs: [ubuntu2204_build, build-sycl-cts]
@@ -202,4 +204,4 @@ jobs:
202204
sycl_toolchain_artifact: sycl_linux_default
203205
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
204206
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
205-
sycl_cts_artifact: sycl_cts_bin
207+
sycl_cts_artifact: sycl_cts_bin_linux

0 commit comments

Comments
 (0)