Skip to content

Commit f88df8c

Browse files
committed
Merge from 'sycl' to 'sycl-web' (#2)
CONFLICT (content): Merge conflict in clang/include/clang/Driver/Options.td
2 parents 99de0ee + 06ce8db commit f88df8c

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

buildbot/dependency.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ocl_cpu_rt_ver_win=2020.11.11.0.04
77
# https://github.com/intel/compute-runtime/releases/tag/20.44.18297
88
ocl_gpu_rt_ver=20.44.18297
99
# Same GPU driver supports Level Zero and OpenCL:
10-
# https://downloadmirror.intel.com/29879/a08/igfx_win10_100.8778.zip
11-
ocl_gpu_rt_ver_win=27.20.100.8778
10+
# https://downloadmirror.intel.com/29988/a08/igfx_win10_100.8935.zip
11+
ocl_gpu_rt_ver_win=27.20.100.8935
1212
intel_sycl_ver=build
1313
# https://github.com/oneapi-src/oneTBB/releases/download/v2021.1-beta10/oneapi-tbb-2021.1-beta10-lin.tgz
1414
tbb_ver=2021.1.053
@@ -25,7 +25,7 @@ fpga_ver_win=20201022_000005
2525
cpu_driver_lin=2020.11.11.0.04
2626
cpu_driver_win=2020.11.11.0.04
2727
gpu_driver_lin=20.44.18297
28-
gpu_driver_win=27.20.100.8778
28+
gpu_driver_win=27.20.100.8935
2929
fpga_driver_lin=2020.11.11.0.04
3030
fpga_driver_win=2020.11.11.0.04
3131
# NVidia CUDA driver

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11092,7 +11092,7 @@ def note_invalid_type_in_sycl_kernel : Note<
1109211092
"%select{%1 should be globally-visible"
1109311093
"|unscoped enum %1 requires fixed underlying type"
1109411094
"|type %1 cannot be in the \"std\" namespace"
11095-
"|kernel name is missing"
11095+
"|unnamed type used in a SYCL kernel name"
1109611096
"}0">;
1109711097

1109811098
def err_sycl_kernel_not_function_object

clang/include/clang/Driver/Options.td

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,9 @@ def fsycl_link : Flag<["-"], "fsycl-link">, Alias<fsycl_link_EQ>,
19571957
def fsycl_unnamed_lambda : Flag<["-"], "fsycl-unnamed-lambda">,
19581958
Flags<[CC1Option, CoreOption]>, HelpText<"Allow unnamed SYCL lambda kernels">;
19591959
def fsycl_help_EQ : Joined<["-"], "fsycl-help=">,
1960-
Flags<[NoXarchOption, CoreOption]>, HelpText<"Emit help information from the related offline compilation tool">, Values<"all,fpga,gen,x86_64">;
1960+
Flags<[NoXarchOption, CoreOption]>, HelpText<"Emit help information from the "
1961+
"related offline compilation tool. Valid values: all, fpga, gen, x86_64.">,
1962+
Values<"all,fpga,gen,x86_64">;
19611963
def fsycl_help : Flag<["-"], "fsycl-help">, Alias<fsycl_help_EQ>,
19621964
Flags<[NoXarchOption, CoreOption]>, AliasArgs<["all"]>, HelpText<"Emit help information "
19631965
"from all of the offline compilation tools">;

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2921,7 +2921,7 @@ class SYCLKernelNameTypeVisitor
29212921
<< KernelNameType;
29222922
S.Diag(KernelInvocationFuncLoc,
29232923
diag::note_invalid_type_in_sycl_kernel)
2924-
<< /* kernel name is missing */ 3;
2924+
<< /* unnamed type used in a SYCL kernel name */ 3;
29252925
IsInvalid = true;
29262926
return;
29272927
}

clang/test/SemaSYCL/unnamed-kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ int main() {
118118
cl::sycl::queue q;
119119
#ifndef __SYCL_UNNAMED_LAMBDA__
120120
// expected-error-re@Inputs/sycl.hpp:220 {{'(lambda at {{.*}}unnamed-kernel.cpp{{.*}}' is an invalid kernel name type}}
121-
// expected-note@Inputs/sycl.hpp:220 {{kernel name is missing}}
121+
// expected-note@Inputs/sycl.hpp:220 {{unnamed type used in a SYCL kernel name}}
122122
// expected-note@+2{{in instantiation of function template specialization}}
123123
#endif
124124
q.submit([&](cl::sycl::handler &h) { h.single_task([] {}); });

0 commit comments

Comments
 (0)