13#include <tbb/enumerable_thread_specific.h>
14#include <tbb/parallel_for.h>
15#include <tbb/parallel_for_each.h>
16#include <tbb/parallel_reduce.h>
17#include <tbb/task_arena.h>
18#include <tbb/task_group.h>
20#if TBB_INTERFACE_VERSION_MAJOR >= 10
21# define WITH_TBB_GLOBAL_CONTROL
22# define TBB_PREVIEW_GLOBAL_CONTROL 1
23# include <tbb/global_control.h>
28using tbb::blocked_range;
29using tbb::enumerable_thread_specific;
30using tbb::parallel_for;
31using tbb::parallel_for_each;
32using tbb::parallel_reduce;
36#if TBB_INTERFACE_VERSION_MAJOR >= 12
37 tbb::task_group_context *ctx = tbb::task::current_context();
39 tbb::task_group_context *ctx = tbb::task::self().group();
42 ctx->capture_fp_settings();
48#if TBB_INTERFACE_VERSION_MAJOR >= 12
49 tbb::task_group_context *ctx = tbb::task::current_context();
51 ctx->cancel_group_execution();
54 tbb::task::self().cancel_group_execution();
#define CCL_NAMESPACE_END
static void thread_capture_fp_settings()
static void parallel_for_cancel()