Skip to content

Commit daaba27

Browse files
committed
Merge remote-tracking branch 'upstream/sycl' into urlog
2 parents e78a0a7 + 491915b commit daaba27

File tree

183 files changed

+1934
-18503
lines changed

Some content is hidden

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

183 files changed

+1934
-18503
lines changed

.github/workflows/bandit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111

1212
jobs:
1313
bandit:
14+
if: github.repository == 'intel/llvm'
1415
name: Bandit
1516
runs-on: ubuntu-latest
1617
permissions:

.github/workflows/sycl-issues-ping-assignee.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ permissions: read-all
1818

1919
jobs:
2020
run:
21+
if: github.repository == 'intel/llvm'
2122
permissions:
2223
issues: write
2324
runs-on: ubuntu-latest

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

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

168168
cuda-aws-stop:
169169
needs: [cuda-aws-start, cuda-run-tests]
170-
if: always()
170+
if: always() && ${{ needs.cuda-aws-start.result != 'skipped' }}
171171
uses: ./.github/workflows/sycl-aws.yml
172172
secrets: inherit
173173
with:

.github/workflows/sycl-stale-issues.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ permissions: read-all
88

99
jobs:
1010
close-issues:
11+
if: github.repository == 'intel/llvm'
1112
permissions:
1213
issues: write # for actions/stale to close stale issues
1314
pull-requests: write # for actions/stale to close stale PRs

.github/workflows/sycl-ur-perf-benchmarking.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ jobs:
114114
strategy:
115115
matrix:
116116
include:
117-
- ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || format('refs/pull/{0}/head', inputs.pr_no) }}
118-
save_name: ${{ inputs.commit_hash != '' && format('Commit{0}', inputs.commit_hash) || format('PR{0}', inputs.pr_no) }}
117+
- ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || inputs.pr_no != '' && format('refs/pull/{0}/head', inputs.pr_no) || github.ref }}
118+
save_name: ${{ inputs.commit_hash != '' && format('Commit{0}', inputs.commit_hash) || inputs.pr_no != '' && format('PR{0}', inputs.pr_no) || 'Baseline' }}
119119
# Set default values if not specified:
120120
runner: ${{ inputs.runner || '["PVC_PERF"]' }}
121121
backend: ${{ inputs.backend || 'level_zero:gpu' }}

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

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -79,30 +79,12 @@ jobs:
7979
include:
8080
- name: Intel GEN12 Graphics with Level Zero
8181
runner: '["Windows","gen12"]'
82-
uses: ./.github/workflows/sycl-windows-run-tests.yml
83-
with:
84-
name: ${{ matrix.name }}
85-
runner: ${{ matrix.runner }}
86-
sycl_toolchain_archive: ${{ needs.build.outputs.artifact_archive_name }}
87-
e2e_testing_mode: run-only
88-
e2e_binaries_artifact: sycl_windows_e2ebin
89-
90-
run_full_e2e_tests:
91-
needs: build
92-
# Continue if build was successful.
93-
if: |
94-
always()
95-
&& !cancelled()
96-
&& needs.build.outputs.build_conclusion == 'success'
97-
strategy:
98-
fail-fast: false
99-
matrix:
100-
include:
10182
- name: Intel Battlemage Graphics with Level Zero
10283
runner: '["Windows","bmg"]'
10384
uses: ./.github/workflows/sycl-windows-run-tests.yml
10485
with:
10586
name: ${{ matrix.name }}
10687
runner: ${{ matrix.runner }}
10788
sycl_toolchain_archive: ${{ needs.build.outputs.artifact_archive_name }}
108-
e2e_testing_mode: full
89+
e2e_testing_mode: run-only
90+
e2e_binaries_artifact: sycl_windows_e2ebin

buildbot/configure.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ def do_configure(args, passthrough_args):
134134
if args.use_lld:
135135
llvm_enable_lld = "ON"
136136

137+
if args.use_zstd:
138+
llvm_enable_zstd = "FORCE_ON"
139+
137140
# CI Default conditionally appends to options, keep it at the bottom of
138141
# args handling
139142
if args.ci_defaults:
@@ -417,6 +420,9 @@ def main():
417420
"--native-cpu-libclc-targets",
418421
help="Target triples for libclc, used by the Native CPU backend",
419422
)
423+
parser.add_argument(
424+
"--use-zstd", action="store_true", help="Force zstd linkage while building."
425+
)
420426
args, passthrough_args = parser.parse_known_intermixed_args()
421427

422428
print("args:{}".format(args))

clang/include/clang/Driver/Types.def

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,7 @@ TYPE("tempfiletable", Tempfiletable,INVALID, "table", phases
125125
TYPE("tempAOCOfilelist", TempAOCOfilelist, INVALID, "txt", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
126126
TYPE("archive", Archive, INVALID, "a", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
127127
TYPE("wholearchive", WholeArchive, INVALID, "a", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
128-
TYPE("fpga_aocx", FPGA_AOCX, INVALID, "aocx", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
129-
TYPE("fpga_aocr", FPGA_AOCR, INVALID, "aocr", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
130-
TYPE("fpga_aocr_emu", FPGA_AOCR_EMU, INVALID, "aocr", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
131-
TYPE("fpga_aoco", FPGA_AOCO, INVALID, "aoco", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
132128
TYPE("fpga_dep", FPGA_Dependencies, INVALID, "d", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
133-
TYPE("fpga_dep_list", FPGA_Dependencies_List, INVALID, "txt", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
134129
TYPE("host_dep_image", Host_Dependencies_Image, INVALID, "out", phases::Compile, phases::Backend, phases::Assemble, phases::Link)
135130
TYPE("api-information", API_INFO, INVALID, "json", phases::Precompile)
136131
TYPE("dx-container", DX_CONTAINER, INVALID, "dxo", phases::Compile, phases::Backend)

clang/include/clang/Driver/Types.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ namespace types {
8989
/// isHIP - Is this a HIP input.
9090
bool isHIP(ID Id);
9191

92-
/// isFPGA - Is this FPGA input.
93-
bool isFPGA(ID Id);
94-
9592
/// isArchive - Is this an archive input.
9693
bool isArchive(ID Id);
9794

clang/lib/Driver/Compilation.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,7 @@ bool Compilation::CleanupFileList(const TempFileList &Files,
225225
// Temporary file lists contain files that need to be cleaned. The
226226
// file containing the information is also removed
227227
if (File.second == types::TY_Tempfilelist ||
228-
File.second == types::TY_Tempfiletable ||
229-
File.second == types::TY_FPGA_Dependencies_List) {
228+
File.second == types::TY_Tempfiletable) {
230229
// These are temporary files and need to be removed.
231230
bool IsTable = File.second == types::TY_Tempfiletable;
232231

0 commit comments

Comments
 (0)