Skip to content

Commit 708a6b8

Browse files
committed
Move OpenMP cleanup out of compile guards
1 parent 2b0d2a2 commit 708a6b8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

modules/core/task/include/task.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,7 @@ class Task {
178178
} else {
179179
functions_order_.clear();
180180
}
181-
#ifdef _OPENMP
182181
omp_pause_resource_all(omp_pause_hard);
183-
#endif
184182
}
185183

186184
protected:

0 commit comments

Comments
 (0)