Skip to content

Commit 70deb50

Browse files
committed
Moving files.
Signed-off-by: Michal Zientkiewicz <[email protected]>
1 parent 1b74977 commit 70deb50

File tree

5 files changed

+383
-319
lines changed

5 files changed

+383
-319
lines changed

dali/pipeline/util/new_thread_pool.h

Lines changed: 0 additions & 290 deletions
This file was deleted.

dali/pipeline/util/thread_pool.cc

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
// Copyright (c) 2018-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -54,19 +54,6 @@ ThreadPool::~ThreadPool() {
5454
for (auto &thread : threads_) {
5555
thread.join();
5656
}
57-
58-
#pragma GCC diagnostic push
59-
#ifdef __clang__
60-
#pragma GCC diagnostic ignored "-Wexceptions"
61-
#else
62-
#pragma GCC diagnostic ignored "-Wterminate"
63-
#endif
64-
65-
if (!work_queue_.empty())
66-
throw std::logic_error("There was outstanding work in the queue.");
67-
68-
#pragma GCC diagnostic pop
69-
7057
#if NVML_ENABLED
7158
nvml::Shutdown();
7259
#endif

0 commit comments

Comments
 (0)