Skip to content

Commit c31a762

Browse files
author
iclsrc
committed
Merge from 'sycl' to 'sycl-web'
2 parents 840942c + 28ef967 commit c31a762

File tree

8 files changed

+27
-16
lines changed

8 files changed

+27
-16
lines changed

buildbot/dependency.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ ocl_cpu_rt_ver=2020.11.8.0.27
44
# https://github.com/intel/llvm/releases/download/2020-WW36/win-oclcpuexp-2020.11.8.0.27_rel.zip
55
ocl_cpu_rt_ver_win=2020.11.8.0.27
66
# Same GPU driver supports Level Zero and OpenCL:
7-
# https://github.com/intel/compute-runtime/releases/tag/20.35.17767
8-
ocl_gpu_rt_ver=20.35.17767
7+
# https://github.com/intel/compute-runtime/releases/tag/20.37.17906
8+
ocl_gpu_rt_ver=20.37.17906
99
# Same GPU driver supports Level Zero and OpenCL:
1010
# https://downloadmirror.intel.com/29879/a08/igfx_win10_100.8778.zip
1111
ocl_gpu_rt_ver_win=27.20.100.8778
@@ -24,7 +24,7 @@ fpga_ver_win=20200811_000006
2424
[DRIVER VERSIONS]
2525
cpu_driver_lin=2020.11.8.0.27
2626
cpu_driver_win=2020.11.8.0.27
27-
gpu_driver_lin=20.35.17767
27+
gpu_driver_lin=20.37.17906
2828
gpu_driver_win=27.20.100.8778
2929
fpga_driver_lin=2020.11.8.0.27
3030
fpga_driver_win=2020.11.8.0.27

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11084,7 +11084,7 @@ def err_sycl_restrict : Error<
1108411084
"}0">;
1108511085
def warn_sycl_kernel_too_big_args : Warning<
1108611086
"size of kernel arguments (%0 bytes) may exceed the supported maximum "
11087-
"of %1 bytes on some devices">, InGroup<SyclStrict>;
11087+
"of %1 bytes on some devices">, InGroup<SyclStrict>, ShowInSystemHeader;
1108811088
def err_sycl_virtual_types : Error<
1108911089
"No class with a vtable can be used in a SYCL kernel or any code included in the kernel">;
1109011090
def note_sycl_recursive_function_declared_here: Note<"function implemented using recursion declared here">;
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// RUN: %clangxx -fsycl -fsycl-device-only -Xclang -verify -Wsycl-strict %s -fsyntax-only
2+
3+
#include <CL/sycl.hpp>
4+
5+
using namespace cl::sycl;
6+
7+
// expected-warning@../../include/sycl/CL/sycl/handler.hpp:919 {{size of kernel arguments (8068 bytes) may exceed the supported maximum of 2048 bytes on some devices}}
8+
9+
int main() {
10+
struct S {
11+
int A;
12+
int B;
13+
int Array[2015];
14+
} Args;
15+
queue myQueue;
16+
myQueue.submit([&](handler &cgh) {
17+
// expected-note@+1 {{in instantiation of function template specialization 'cl::sycl::handler::single_task}}
18+
cgh.single_task<class kernel>([=]() { (void)Args; });
19+
});
20+
return 0;
21+
}

sycl/test/basic_tests/stream/stream.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// TODO: Enable compilation w/o -fno-sycl-early-optimizations option.
2-
// See https://github.com/intel/llvm/issues/2264 for more details.
3-
// XFAIL: gpu && (level_zero || opencl) && linux
41

52
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
63
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out | FileCheck %s

sycl/test/esimd/on-device/matrix_transpose_glb.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// REQUIRES: gpu
1111
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1212
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
13+
// XFAIL: linux
14+
// UNSUPPORTED: cuda
1315

1416
#include "esimd_test_utils.hpp"
1517

sycl/test/hier_par/hier_par_wgscope.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// TODO: Enable compilation w/o -fno-sycl-early-optimizations option.
2-
// See https://github.com/intel/llvm/issues/2264 for more details.
3-
// XFAIL: gpu && (level_zero || opencl) && linux
41

52
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
63
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out

sycl/test/sub_group/generic_reduce.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// TODO: Enable compilation w/o -fno-sycl-early-optimizations option.
2-
// See https://github.com/intel/llvm/issues/2264 for more details.
3-
// XFAIL: gpu && linux
41

52
// UNSUPPORTED: cuda
63
// CUDA compilation and runtime do not yet support sub-groups.

sycl/test/sub_group/load_store.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// TODO: Enable compilation w/o -fno-sycl-early-optimizations option.
2-
// See https://github.com/intel/llvm/issues/2264 for more details.
3-
// XFAIL: gpu && linux
41

52
// UNSUPPORTED: cuda || cpu
63
// CUDA compilation and runtime do not yet support sub-groups.

0 commit comments

Comments
 (0)