tbb/parallel_for.h File Reference
`#include "internal/_warning_suppress_enable_notice.h"`
`#include <new>`
`#include "task.h"`
`#include "partitioner.h"`
`#include "blocked_range.h"`
`#include "tbb_exception.h"`
`#include "internal/_tbb_trace_impl.h"`
`#include "internal/_warning_suppress_disable_notice.h"`
Include dependency graph for tbb/parallel_for.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes

class | tbb::interface9::internal::start_for< Range, Body, Partitioner >
| Task type used in parallel_for. More...
class | tbb::internal::parallel_for_body< Function, Index >
| Calls the function with values from range [begin, end) with a step provided. More...

## Namespaces

| tbb
| The graph class.
| tbb::interface9
| tbb::interface9::internal
| tbb::internal
| Identifiers declared inside namespace internal should never be used directly by client code.
| tbb::strict_ppl
| For internal use only.

## Macros

#define | __TBB_parallel_for_H_include_area

## Functions

void * | tbb::interface9::internal::allocate_sibling (task *start_for_task, size_t bytes)
| allocate right task with new parent More...
template<typename Index , typename Function , typename Partitioner >
void | tbb::strict_ppl::parallel_for_impl (Index first, Index last, Index step, const Function &f, Partitioner &partitioner)
| Implementation of parallel iteration over stepped range of integers with explicit step and partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f)
| Parallel iteration over a range of integers with a step provided and default partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f, const simple_partitioner &partitioner)
| Parallel iteration over a range of integers with a step provided and simple partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f, const auto_partitioner &partitioner)
| Parallel iteration over a range of integers with a step provided and auto partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f, const static_partitioner &partitioner)
| Parallel iteration over a range of integers with a step provided and static partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f, affinity_partitioner &partitioner)
| Parallel iteration over a range of integers with a step provided and affinity partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f)
| Parallel iteration over a range of integers with a default step value and default partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f, const simple_partitioner &partitioner)
| Parallel iteration over a range of integers with a default step value and simple partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f, const auto_partitioner &partitioner)
| Parallel iteration over a range of integers with a default step value and auto partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f, const static_partitioner &partitioner)
| Parallel iteration over a range of integers with a default step value and static partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f, affinity_partitioner &partitioner)
| Parallel iteration over a range of integers with a default step value and affinity partitioner. More...
template<typename Index , typename Function , typename Partitioner >
void | tbb::strict_ppl::parallel_for_impl (Index first, Index last, Index step, const Function &f, Partitioner &partitioner, tbb::task_group_context &context)
| Implementation of parallel iteration over stepped range of integers with explicit step, task group context, and partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f, tbb::task_group_context &context)
| Parallel iteration over a range of integers with explicit step, task group context, and default partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f, const simple_partitioner &partitioner, tbb::task_group_context &context)
| Parallel iteration over a range of integers with explicit step, task group context, and simple partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f, const auto_partitioner &partitioner, tbb::task_group_context &context)
| Parallel iteration over a range of integers with explicit step, task group context, and auto partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f, const static_partitioner &partitioner, tbb::task_group_context &context)
| Parallel iteration over a range of integers with explicit step, task group context, and static partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, Index step, const Function &f, affinity_partitioner &partitioner, tbb::task_group_context &context)
| Parallel iteration over a range of integers with explicit step, task group context, and affinity partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f, tbb::task_group_context &context)
| Parallel iteration over a range of integers with a default step value, explicit task group context, and default partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f, const simple_partitioner &partitioner, tbb::task_group_context &context)
| Parallel iteration over a range of integers with a default step value, explicit task group context, and simple partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f, const auto_partitioner &partitioner, tbb::task_group_context &context)
| Parallel iteration over a range of integers with a default step value, explicit task group context, and auto partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f, const static_partitioner &partitioner, tbb::task_group_context &context)
| Parallel iteration over a range of integers with a default step value, explicit task group context, and static partitioner. More...
template<typename Index , typename Function >
void | tbb::strict_ppl::parallel_for (Index first, Index last, const Function &f, affinity_partitioner &partitioner, tbb::task_group_context &context)
| Parallel iteration over a range of integers with a default step value, explicit task group context, and affinity_partitioner. More...
parallel_for
See also requirements on Range and parallel_for Body.
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body)
| Parallel iteration over range with default partitioner. More...
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body, const simple_partitioner &partitioner)
| Parallel iteration over range with simple partitioner. More...
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body, const auto_partitioner &partitioner)
| Parallel iteration over range with auto_partitioner. More...
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body, const static_partitioner &partitioner)
| Parallel iteration over range with static_partitioner. More...
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body, affinity_partitioner &partitioner)
| Parallel iteration over range with affinity_partitioner. More...
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body, task_group_context &context)
| Parallel iteration over range with default partitioner and user-supplied context. More...
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body, const simple_partitioner &partitioner, task_group_context &context)
| Parallel iteration over range with simple partitioner and user-supplied context. More...
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body, const auto_partitioner &partitioner, task_group_context &context)
| Parallel iteration over range with auto_partitioner and user-supplied context. More...
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body, const static_partitioner &partitioner, task_group_context &context)
| Parallel iteration over range with static_partitioner and user-supplied context. More...
template<typename Range , typename Body >
void | tbb::parallel_for (const Range &range, const Body &body, affinity_partitioner &partitioner, task_group_context &context)
| Parallel iteration over range with affinity_partitioner and user-supplied context. More...

## Macro Definition Documentation

## __TBB_parallel_for_H_include_area

#define __TBB_parallel_for_H_include_area

Definition at line 20 of file tbb/parallel_for.h.

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.