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 7181b4c commit bbb9009Copy full SHA for bbb9009
sycl/unittests/scheduler/GraphCleanup.cpp
@@ -287,9 +287,9 @@ TEST_F(SchedulerTest, HostTaskCleanup) {
287
queue Queue{Ctx, default_selector_v};
288
289
std::mutex Mutex;
290
- std::unique_lock Lock{Mutex};
+ std::unique_lock<std::mutex> Lock{Mutex};
291
event Event = Queue.submit([&](sycl::handler &cgh) {
292
- cgh.host_task([&]() { std::unique_lock Lock{Mutex}; });
+ cgh.host_task([&]() { std::unique_lock<std::mutex> Lock{Mutex}; });
293
});
294
detail::EventImplPtr EventImpl = detail::getSyclObjImpl(Event);
295
0 commit comments