Skip to content

Commit 76271f1

Browse files
author
iclsrc
committed
Merge from 'sycl' to 'sycl-web' (10 commits)
2 parents 4600de9 + 4f29c44 commit 76271f1

File tree

121 files changed

+675
-369
lines changed

Some content is hidden

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

121 files changed

+675
-369
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
branches:
99
- main
1010
- sycl
11-
- sycl-devops-pr/**
1211
- sycl-rel-**
1312
- 'users/**'
1413

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ jobs:
199199
cmake --build $GITHUB_WORKSPACE/build --target check-sycl-unittests
200200
- name: check-llvm-spirv
201201
if: always() && !cancelled() && contains(inputs.changes, 'llvm_spirv')
202+
# Temporary workaround to disable running tests requiring spirv-tools.
203+
env:
204+
LIT_OPTS: "--param disable-spirv-tools=True"
202205
run: |
203206
cmake --build $GITHUB_WORKSPACE/build --target check-llvm-spirv
204207
- name: check-xptifw

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
pull_request:
88
branches:
99
- sycl
10-
- sycl-devops-pr/**
1110
- sycl-rel-**
1211
# Do not run builds if changes are only in the following locations
1312
paths-ignore:

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: SYCL Post Commit
22

33
on:
4+
workflow_dispatch:
5+
46
push:
57
branches:
68
- sycl
7-
- sycl-devops-pr/**
89
- sycl-rel-**
910

1011
pull_request:
1112
branches:
1213
- sycl
13-
- sycl-devops-pr/**
1414
paths:
1515
- .github/workflows/sycl-post-commit.yml
1616
- .github/workflows/sycl-linux-build.yml
@@ -106,6 +106,7 @@ jobs:
106106
compiler: icx
107107
build_configure_extra_args: --cmake-opt=-DCMAKE_C_FLAGS="/clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" --cmake-opt=-DCMAKE_CXX_FLAGS="/clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" --cmake-opt="-DCMAKE_EXE_LINKER_FLAGS=/manifest:no" --cmake-opt="-DCMAKE_MODULE_LINKER_FLAGS=/manifest:no" --cmake-opt="-DCMAKE_SHARED_LINKER_FLAGS=/manifest:no"
108108
build_cache_suffix: icx
109+
merge_ref: ''
109110

110111
e2e-win:
111112
needs: build-win
@@ -120,6 +121,7 @@ jobs:
120121
runner: '["Windows","gen12"]'
121122
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
122123
compiler: icx
124+
merge_ref: ''
123125

124126
macos_default:
125127
name: macOS

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ jobs:
158158
cmake --build build --target check-sycl-unittests
159159
- name: check-llvm-spirv
160160
if: always() && !cancelled() && contains(inputs.changes, 'llvm_spirv')
161+
# Temporary workaround to disable running tests requiring spirv-tools.
162+
env:
163+
LIT_OPTS: "--param disable-spirv-tools=True"
161164
run: |
162165
cmake --build build --target check-llvm-spirv
163166
- name: check-xptifw

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
pull_request:
55
branches:
66
- sycl
7-
- sycl-devops-pr/**
87
- llvmspirv_pulldown
98
- sycl-rel-**
109
# Do not run builds if changes are only in the following locations
@@ -43,6 +42,7 @@ jobs:
4342
uses: ./.github/workflows/sycl-windows-build.yml
4443
with:
4544
changes: ${{ needs.detect_changes.outputs.filters }}
45+
merge_ref: ''
4646

4747
e2e:
4848
needs: build
@@ -56,3 +56,4 @@ jobs:
5656
name: Intel GEN12 Graphics with Level Zero
5757
runner: '["Windows","gen12"]'
5858
sycl_toolchain_archive: ${{ needs.build.outputs.artifact_archive_name }}
59+
merge_ref: ''

devops/actions/run-tests/e2e/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ runs:
6868
exit_code=$?
6969
cat e2e.log
7070
if [ $exit_code -ne 0 ]; then
71-
awk '/^Failed Tests|Unexpectedly Passed Tests|Unresolved tests|Testing Time/{flag=1}/FAILED: CMakeFiles/{flag=0}flag' e2e.log >> $GITHUB_STEP_SUMMARY
71+
awk '/^Failed Tests|Unexpectedly Passed Tests|Unresolved tests|Timed Out Tests|Testing Time/{flag=1}/FAILED: CMakeFiles/{flag=0}flag' e2e.log >> $GITHUB_STEP_SUMMARY
7272
fi
7373
exit $exit_code
7474

llvm-spirv/test/lit.cfg.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,27 @@
6060

6161
using_spirv_tools = False
6262

63-
if config.spirv_tools_have_spirv_as:
63+
# Explicitly disable using spirv tools, if requested.
64+
disable_spirv_tools = lit_config.params.get("disable-spirv-tools", False)
65+
66+
if config.spirv_tools_have_spirv_as and not disable_spirv_tools:
6467
llvm_config.add_tool_substitutions(['spirv-as'], [config.spirv_tools_bin_dir])
6568
config.available_features.add('spirv-as')
6669
using_spirv_tools = True
6770

68-
if config.spirv_tools_have_spirv_dis:
71+
if config.spirv_tools_have_spirv_dis and not disable_spirv_tools:
6972
llvm_config.add_tool_substitutions(['spirv-dis'], [config.spirv_tools_bin_dir])
7073
config.available_features.add('spirv-dis')
7174
using_spirv_tools = True
7275

73-
if config.spirv_tools_have_spirv_link:
76+
if config.spirv_tools_have_spirv_link and not disable_spirv_tools:
7477
llvm_config.add_tool_substitutions(['spirv-link'], [config.spirv_tools_bin_dir])
7578
config.available_features.add('spirv-link')
7679
using_spirv_tools = True
7780

7881
# Unlike spirv-{as,dis,link} above, running spirv-val is optional: if spirv-val is
7982
# not available, the test must still run and just skip any spirv-val commands.
80-
if config.spirv_tools_have_spirv_val:
83+
if config.spirv_tools_have_spirv_val and not disable_spirv_tools:
8184
llvm_config.add_tool_substitutions(['spirv-val'], [config.spirv_tools_bin_dir])
8285
using_spirv_tools = True
8386
else:
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# commit d3e97040b67ee6b45655eccdfca19185bd9115b6
2-
# Merge: 2ef69591 37ad03a7
1+
# commit c6859445e01d433ec1cf3d87a244c5cf697fb290
2+
# Merge: d3e97040 b1b0c60c
33
# Author: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
4-
# Date: Thu Jan 23 10:23:08 2025 +0000
5-
# Merge pull request #2605 from yingcong-wu/yc/0123-ur-quick-fix
6-
# [DeviceASAN] Bugfix for GetDeviceType
7-
set(UNIFIED_RUNTIME_TAG d3e97040b67ee6b45655eccdfca19185bd9115b6)
4+
# Date: Thu Jan 23 13:59:15 2025 +0000
5+
# Merge pull request #2589 from Bensuo/fabio/fix_potential_race_condition
6+
# Fix potential deadlock in the WaitEvent path of CmdBuffers
7+
set(UNIFIED_RUNTIME_TAG c6859445e01d433ec1cf3d87a244c5cf697fb290)

sycl/include/sycl/context.hpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,20 @@ class __SYCL_EXPORT context : public detail::OwnerLessBase<context> {
177177
///
178178
/// The return type depends on information being queried.
179179
template <typename Param
180+
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
180181
#if defined(_GLIBCXX_USE_CXX11_ABI) && _GLIBCXX_USE_CXX11_ABI == 0
181182
,
182183
int = detail::emit_get_backend_info_error<context, Param>()
184+
#endif
183185
#endif
184186
>
187+
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
188+
__SYCL_DEPRECATED(
189+
"All current implementations of get_backend_info() are to be removed. "
190+
"Use respective variants of get_info() instead.")
191+
#endif
185192
typename detail::is_backend_info_desc<Param>::return_type
186-
get_backend_info() const;
193+
get_backend_info() const;
187194

188195
context(const context &rhs) = default;
189196

0 commit comments

Comments
 (0)