Skip to content

Commit c379817

Browse files
[SYCL] Drain thread pool should not be called on Win (#7973)
PR #7908 accidentally introduced a behavior that causes lots of timeouts on the CI system on Windows. Signed-off-by: Tikhomirova, Kseniya <[email protected]>
1 parent 8ca6c91 commit c379817

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/source/detail/global_handler.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,10 @@ void GlobalHandler::unloadPlugins() {
202202
}
203203

204204
void GlobalHandler::drainThreadPool() {
205+
#ifndef _WIN32
205206
if (MHostTaskThreadPool.Inst)
206207
MHostTaskThreadPool.Inst->drain();
208+
#endif
207209
}
208210

209211
void shutdown() {

0 commit comments

Comments
 (0)