12#include <tbb/enumerable_thread_specific.h>
13#include <tbb/parallel_for.h>
14#include <tbb/parallel_for_each.h>
15#include <tbb/parallel_reduce.h>
16#include <tbb/task_arena.h>
17#include <tbb/task_group.h>
19#if TBB_INTERFACE_VERSION_MAJOR >= 10
20# define WITH_TBB_GLOBAL_CONTROL
21# define TBB_PREVIEW_GLOBAL_CONTROL 1
22# include <tbb/global_control.h>
27using tbb::blocked_range;
28using tbb::enumerable_thread_specific;
29using tbb::parallel_for;
30using tbb::parallel_for_each;
31using tbb::parallel_reduce;
35#if TBB_INTERFACE_VERSION_MAJOR >= 12
36 tbb::task_group_context *ctx = tbb::task::current_context();
38 tbb::task_group_context *ctx = tbb::task::self().group();
41 ctx->capture_fp_settings();
47#if TBB_INTERFACE_VERSION_MAJOR >= 12
48 tbb::task_group_context *ctx = tbb::task::current_context();
50 ctx->cancel_group_execution();
53 tbb::task::self().cancel_group_execution();
#define CCL_NAMESPACE_END
static void thread_capture_fp_settings()
static void parallel_for_cancel()