File tree Expand file tree Collapse file tree 5 files changed +5
-30
lines changed
sycl/test-e2e/VirtualFunctions/misc Expand file tree Collapse file tree 5 files changed +5
-30
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,7 @@ class MultiplyOp : public BaseOp {
6969int main () try {
7070 using storage_t = obj_storage_t <SumOp, MultiplyOp>;
7171
72- auto asyncHandler = [](sycl::exception_list list) {
73- for (auto &e : list)
74- std::rethrow_exception (e);
75- };
76-
77- sycl::queue q (asyncHandler);
72+ sycl::queue q;
7873
7974 auto *DeviceStorage = sycl::malloc_shared<storage_t >(1 , q);
8075 sycl::range G{512 };
Original file line number Diff line number Diff line change @@ -45,12 +45,7 @@ int main() try {
4545
4646 storage_t HostStorage;
4747
48- auto asyncHandler = [](sycl::exception_list list) {
49- for (auto &e : list)
50- std::rethrow_exception (e);
51- };
52-
53- sycl::queue q (asyncHandler);
48+ sycl::queue q;
5449
5550 auto *DeviceStorage = sycl::malloc_shared<storage_t >(1 , q);
5651
Original file line number Diff line number Diff line change @@ -49,12 +49,7 @@ int main() try {
4949
5050 storage_t HostStorage;
5151
52- auto asyncHandler = [](sycl::exception_list list) {
53- for (auto &e : list)
54- std::rethrow_exception (e);
55- };
56-
57- sycl::queue q (asyncHandler);
52+ sycl::queue q;
5853
5954 auto *DeviceStorage = sycl::malloc_shared<storage_t >(1 , q);
6055 sycl::range R{1024 };
Original file line number Diff line number Diff line change @@ -46,12 +46,7 @@ int main() try {
4646
4747 std::array<storage_t , 3 > HostStorage;
4848
49- auto asyncHandler = [](sycl::exception_list list) {
50- for (auto &e : list)
51- std::rethrow_exception (e);
52- };
53-
54- sycl::queue q (asyncHandler);
49+ sycl::queue q;
5550
5651 auto *DeviceStorage = sycl::malloc_shared<storage_t >(3 , q);
5752 sycl::range R{1024 };
Original file line number Diff line number Diff line change @@ -46,12 +46,7 @@ int main() try {
4646
4747 storage_t HostStorage;
4848
49- auto asyncHandler = [](sycl::exception_list list) {
50- for (auto &e : list)
51- std::rethrow_exception (e);
52- };
53-
54- sycl::queue q (asyncHandler);
49+ sycl::queue q;
5550
5651 auto *DeviceStorage = sycl::malloc_shared<storage_t >(1 , q);
5752 sycl::range R{1024 };
You can’t perform that action at this time.
0 commit comments