Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 95b7709

Browse files
Update context_is_destroyed_after_exception.cpp
1 parent a7873d0 commit 95b7709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SYCL/Regression/context_is_destroyed_after_exception.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ int main() {
99
const auto GlobalRange = 1;
1010
const auto LocalRange = 2;
1111

12-
sycl::queue myQueue{sycl::cpu_selector{}, [](sycl::exception_list elist) {
12+
sycl::queue myQueue{sycl::gpu_selector{}, [](sycl::exception_list elist) {
1313
for (auto e : elist)
1414
std::rethrow_exception(e);
1515
}};
@@ -27,4 +27,4 @@ int main() {
2727
return 0;
2828
}
2929

30-
// CHECK:---> piContextRelease
30+
// CHECK:---> piContextRelease(

0 commit comments

Comments
 (0)