We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5737ad9 commit d196ca5Copy full SHA for d196ca5
sycl/unittests/scheduler/SchedulerTest.hpp
@@ -13,7 +13,6 @@
13
14
class SchedulerTest : public ::testing::Test {
15
protected:
16
- cl::sycl::queue MQueue;
17
cl::sycl::async_handler MAsyncHandler =
18
[](cl::sycl::exception_list ExceptionList) {
19
for (cl::sycl::exception_ptr_class ExceptionPtr : ExceptionList) {
@@ -26,9 +25,5 @@ class SchedulerTest : public ::testing::Test {
26
25
}
27
28
};
29
-
30
-public:
31
- void SetUp() override {
32
- MQueue = cl::sycl::queue(cl::sycl::host_selector(), MAsyncHandler);
33
- }
+ cl::sycl::queue MQueue = cl::sycl::queue(cl::sycl::device(), MAsyncHandler);
34
0 commit comments