File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 9
9
// ===----------------------------------------------------------------------===//
10
10
11
11
#include < initializer_list>
12
+ #include < iterator>
12
13
13
14
namespace std {
14
15
Original file line number Diff line number Diff line change 9
9
// ===----------------------------------------------------------------------===//
10
10
11
11
#include < initializer_list>
12
+ #include < iostream>
13
+ #include < limits>
14
+ #include < vector>
12
15
13
16
namespace std {
14
17
Original file line number Diff line number Diff line change
1
+ // RUN: %clang --sycl %s -S -emit-llvm -o - | FileCheck %s
2
+
3
+ template <typename name, typename Func>
4
+ __attribute__ ((sycl_kernel)) void kernel_single_task(Func kernelFunc) {
5
+ kernelFunc ();
6
+ }
7
+
8
+ int main () {
9
+ // CHECK-NOT: noinline
10
+ kernel_single_task<class kernel_function >([]() {});
11
+ return 0 ;
12
+ }
You can’t perform that action at this time.
0 commit comments