File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
sycl/test-e2e/KernelAndProgram Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 5
5
// RUN: %{build} -fno-sycl-early-optimizations -fsycl-device-code-split=per_source -o %t_per_source.out
6
6
// RUN: %{build} -fno-sycl-early-optimizations -fsycl-device-code-split=off -o %t_off.out
7
7
// RUN: %{build} -fno-sycl-early-optimizations -fsycl-device-code-split=auto -o %t_auto.out
8
- // RUN: %{run} %t_per_kernel.out | FileCheck %s
8
+ // RUN: %{run} %t_per_kernel.out
9
9
10
- // RUN: %{run} %t_per_source.out | FileCheck %s
10
+ // RUN: %{run} %t_per_source.out
11
11
12
- // RUN: %{run} %t_auto.out | FileCheck %s
12
+ // RUN: %{run} %t_auto.out
13
13
14
- // RUN: %{run} %t_off.out | FileCheck %s
14
+ // RUN: %{run} %t_off.out
15
15
16
16
#include < iostream>
17
17
#include < sycl/sycl.hpp>
@@ -46,13 +46,11 @@ int main() {
46
46
auto acc = b.get_access <access_mode::read_write>(cgh);
47
47
cgh.single_task <kernel_name<1 >>([=]() { acc[0 ] = foo (acc[0 ]); });
48
48
});
49
+ q.wait ();
49
50
} catch (exception &e) {
50
51
std::cout << " Exception: " << e.what () << std::endl;
51
52
return 1 ;
52
53
}
53
54
54
- std::cout << " OK" ;
55
55
return 0 ;
56
56
}
57
-
58
- // CHECK: OK
You can’t perform that action at this time.
0 commit comments