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 1e36d65 commit 17bf93aCopy full SHA for 17bf93a
sycl/unittests/scheduler/InOrderQueueHostTaskDeps.cpp
@@ -49,7 +49,7 @@ inline ur_result_t redefinedEventsWait(void *pParams) {
49
inline ur_result_t redefinedEventHostSignal(void *pParams) {
50
EventSignaled = true;
51
{
52
- std::lock_guard lk(HostTaskMutex);
+ std::unique_lock<std::mutex> lk(HostTaskMutex);
53
HostTaskReady = true;
54
}
55
HostTaskCV.notify_one();
0 commit comments