File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ int main() {
53
53
esimd_test::createExceptionHandler ());
54
54
55
55
Queue.submit ([&](handler &CGH) {
56
- CGH.single_task < class integral > ([=]() {
56
+ CGH.single_task ([=]() SYCL_ESIMD_KERNEL {
57
57
// String
58
58
oneapi::experimental::printf (format_hello_world);
59
59
// Due to a bug in Intel CPU Runtime for OpenCL on Windows, information
@@ -97,7 +97,7 @@ int main() {
97
97
esimd_test::createExceptionHandler ());
98
98
// printf in parallel_for
99
99
Queue.submit ([&](handler &CGH) {
100
- CGH.parallel_for < class stream_string > (range<1 >(10 ), [=](id<1 > i) {
100
+ CGH.parallel_for (range<1 >(10 ), [=](id<1 > i) SYCL_ESIMD_KERNEL {
101
101
// cast to uint64_t to be sure that we pass 64-bit unsigned value
102
102
oneapi::experimental::printf (format_hello_world_2, (uint64_t )i.get (0 ));
103
103
});
You can’t perform that action at this time.
0 commit comments