Skip to content

Commit 919cc1a

Browse files
committed
Turns out unnamed lambda DOES work!
Signed-off-by: James Brodman <[email protected]>
1 parent 7997a34 commit 919cc1a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

sycl/test/usm/pfor_flatten.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// UNSUPPORTED: cuda
2-
// CUDA does not support the unnamed lambda extension.
3-
//
41
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-unnamed-lambda -fsycl-dead-args-optimization %s -o %t1.out
52
// RUN: env SYCL_DEVICE_TYPE=HOST %t1.out
63
// RUN: %CPU_RUN_PLACEHOLDER %t1.out

sycl/test/usm/pfor_flatten_range_shortcut.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// UNSUPPORTED: cuda
2-
// CUDA does not support the unnamed lambda extension.
3-
//
41
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-unnamed-lambda %s -o %t1.out
52
// RUN: env SYCL_DEVICE_TYPE=HOST %t1.out
63
// RUN: %CPU_RUN_PLACEHOLDER %t1.out

0 commit comments

Comments
 (0)