Skip to content

Commit 215ced4

Browse files
authored
Merge pull request intel#797 from bb-sycl/xmain
Auto pulldown and update tc files for xmain branch on 20220325
2 parents ea6affb + 034ffec commit 215ced4

File tree

444 files changed

+9504
-2879
lines changed

Some content is hidden

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

444 files changed

+9504
-2879
lines changed

.github/CODEOWNERS

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@ SYCL/Tracing @intel/llvm-reviewers-runtime
2727
SYCL/DeviceLib @vzakhari
2828
SYCL/DeviceLib/ITTAnnotations @vzakhari @MrSidims
2929

30-
# Group algorithms
31-
/SYCL/GroupAlgorithm/ @Pennycook @intel/llvm-reviewers-runtime
32-
/SYCL/GroupLocalMemory/ @Pennycook @intel/llvm-reviewers-runtime
33-
/SYCL/SubGroup/ @Pennycook @intel/llvm-reviewers-runtime
34-
/SYCL/SubGroupMask/ @Pennycook @intel/llvm-reviewers-runtime
35-
36-
# Plugin interface for Level Zero
37-
/SYCL/Plugin/*level[-_]zero* @intel/dpcpp-l0-pi-reviewers
38-
3930
# Explicit SIMD
4031
config_sycl/esimd* @kychendev @kbobrovs @v-vklochkov
4132
SYCL/ESIMD @intel/dpcpp-esimd-reviewers
@@ -50,7 +41,7 @@ SYCL/SubGroupMask @Pennycook @intel/llvm-reviewers-runtime
5041
SYCL/GroupLocalMemory @Pennycook @intel/llvm-reviewers-runtime
5142

5243
# Plugin interface for Level Zero
53-
SYCL/Plugin/*level-zero* @intel/dpcpp-l0-pi-reviewers
44+
/SYCL/Plugin/*level-zero* @intel/dpcpp-l0-pi-reviewers
5445

5546
# Printf
5647
SYCL/Printf @intel/dpcpp-tools-reviewers
@@ -74,11 +65,12 @@ SYCL/USM @jbrodman @sergey-semenov
7465
SYCL/Basic/stream @againull
7566

7667
# Test scripts
77-
*.pl @myler @yamanwan
78-
*.list @myler @yamanwan
68+
*.pl @myler @wanyaman
69+
*.list @myler @wanyaman
7970

8071
# tc files
81-
*.xml @myler @yamanwan
72+
*.xml @myler @wanyaman
73+
config_sycl/* @myler @wanyaman
8274

8375
# Deprecated features
8476
SYCL/DeprecatedFeatures @intel/llvm-reviewers-runtime
@@ -93,25 +85,11 @@ SYCL_ESIMD_EMBARGO/ESIMD/EMBARGO/named_barriers @fveselov
9385

9486
# XPTI and XPTI Framework
9587
SYCL/XPTI @intel/llvm-reviewers-runtime
96-
# Group algorithms
97-
/SYCL/GroupAlgorithm/ @Pennycook @intel/llvm-reviewers-runtime
98-
/SYCL/GroupLocalMemory/ @Pennycook @intel/llvm-reviewers-runtime
99-
/SYCL/SubGroup/ @Pennycook @intel/llvm-reviewers-runtime
100-
/SYCL/SubGroupMask/ @Pennycook @intel/llvm-reviewers-runtime
101-
102-
# Plugin interface for Level Zero
103-
/SYCL/Plugin/*level[-_]zero* @intel/dpcpp-l0-pi-reviewers
10488

10589
# BFloat16 conversion
106-
/SYCL/BFloat16/ @AlexeySotkin @intel/dpcpp-tools-reviewers
90+
/SYCL/BFloat16/ @intel/dpcpp-tools-reviewers
10791

10892
# Compiler tests
10993
/SYCL/AOT/ @intel/dpcpp-tools-reviewers
11094
/SYCL/DeviceCodeSplit/ @intel/dpcpp-tools-reviewers
11195
/SYCL/SeparateCompile/ @intel/dpcpp-tools-reviewers
112-
113-
# Printf
114-
/SYCL/Printf/ @intel/dpcpp-tools-reviewers
115-
116-
# Specialization constant
117-
/SYCL/SpecConstants/ @intel/dpcpp-tools-reviewers

SYCL/AOT/accelerator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
//==--- accelerator.cpp - AOT compilation for fpga devices using aoc ------==//
1+
//=-- accelerator.cpp - compilation for fpga emulator dev using opencl-aot --=//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===---------------------------------------------------------------------===//
88

9-
// REQUIRES: aoc, accelerator
9+
// REQUIRES: opencl-aot, accelerator
1010

1111
// RUN: %clangxx -fsycl -fsycl-targets=spir64_fpga %S/Inputs/aot.cpp -o %t.out
1212
// RUN: %ACC_RUN_PLACEHOLDER %t.out

SYCL/AOT/multiple-devices.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: opencl-aot, ocloc, aoc, cpu, gpu, accelerator
9+
// REQUIRES: opencl-aot, ocloc, cpu, gpu, accelerator
1010
// UNSUPPORTED: cuda
1111
// CUDA is not compatible with SPIR.
1212

SYCL/AtomicRef/add.cpp

Lines changed: 5 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,12 @@
1-
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-targets=%sycl_triple %s -o %t.out \
2-
// RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_60
1+
// See https://github.com/intel/llvm-test-suite/issues/867 for detailed status
2+
// UNSUPPORTED: hip
3+
4+
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-device-code-split=per_kernel -fsycl-targets=%sycl_triple %s -o %t.out -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_70
35
// RUN: %HOST_RUN_PLACEHOLDER %t.out
46
// RUN: %GPU_RUN_PLACEHOLDER %t.out
57
// RUN: %CPU_RUN_PLACEHOLDER %t.out
68
// RUN: %ACC_RUN_PLACEHOLDER %t.out
79

810
#include "add.h"
9-
#include <iostream>
10-
using namespace sycl;
11-
12-
// Floating-point types do not support pre- or post-increment
13-
template <> void add_test<float>(queue q, size_t N) {
14-
add_fetch_test<::sycl::ext::oneapi::atomic_ref,
15-
access::address_space::global_space, float>(q, N);
16-
add_fetch_test<::sycl::atomic_ref, access::address_space::global_space,
17-
float>(q, N);
18-
add_plus_equal_test<::sycl::ext::oneapi::atomic_ref,
19-
access::address_space::global_space, float>(q, N);
20-
add_plus_equal_test<::sycl::atomic_ref, access::address_space::global_space,
21-
float>(q, N);
22-
}
23-
24-
int main() {
25-
queue q;
26-
27-
constexpr int N = 32;
28-
add_test<int>(q, N);
29-
add_test<unsigned int>(q, N);
30-
add_test<float>(q, N);
31-
32-
// Include long tests if they are 32 bits wide
33-
if constexpr (sizeof(long) == 4) {
34-
add_test<long>(q, N);
35-
add_test<unsigned long>(q, N);
36-
}
37-
38-
// Include pointer tests if they are 32 bits wide
39-
if constexpr (sizeof(char *) == 4) {
40-
add_test<char *, ptrdiff_t>(q, N);
41-
}
4211

43-
std::cout << "Test passed." << std::endl;
44-
}
12+
int main() { add_test_all<access::address_space::global_space>(); }

0 commit comments

Comments
 (0)