Skip to content

Commit 1f9f526

Browse files
authored
[SYCL][NFC] Add missing includes (#3757)
Missing includes in the file cause build failures on some configurations.
1 parent 1e0bd1e commit 1f9f526

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sycl/unittests/thread_safety/ThreadUtils.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#include <detail/scheduler/scheduler.hpp>
22

3-
#include <thread>
4-
#include <vector>
3+
#include <condition_variable> // std::conditional_variable
4+
#include <mutex> // std::mutex, std::unique_lock
5+
#include <thread> // std::thread
6+
#include <utility> // std::forward
7+
#include <vector> // std::vector
58

69
/* Single use thread barrier which makes threads wait until defined number of
710
* threads reach it.

0 commit comments

Comments
 (0)