Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::interface6 Namespace Reference

Namespaces

 internal
 

Classes

class  aggregator
 Basic aggregator interface. More...
 
class  aggregator_ext
 Aggregator base class and expert interface. More...
 
class  aggregator_operation
 
class  concurrent_lru_cache
 
class  enumerable_thread_specific
 The enumerable_thread_specific container. More...
 
class  filter_t
 Class representing a chain of type-safe pipeline filters. More...
 
class  fixed_pool
 
class  flattened2d
 
class  flow_control
 input_filter control to signal end-of-input for parallel_pipeline More...
 
class  memory_pool
 Thread-safe growable pool allocator for variable-size requests. More...
 
class  memory_pool_allocator
 Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More...
 
class  memory_pool_allocator< void, P >
 Analogous to std::allocator<void>, as defined in ISO C++ Standard, Section 20.4.1. More...
 
class  runtime_loader
 Load TBB at runtime. More...
 
class  task_scheduler_observer
 

Functions

template<typename T >
atomic< T > make_atomic (T t)
 Make an atomic for use in an initialization (list), as an alternative to zero-initialization or normal assignment. More...
 
template<typename Container >
flattened2d< Container > flatten2d (const Container &c, const typename Container::const_iterator b, const typename Container::const_iterator e)
 
template<typename Container >
flattened2d< Container > flatten2d (const Container &c)
 
template<typename T , typename U , typename P >
bool operator== (const memory_pool_allocator< T, P > &a, const memory_pool_allocator< U, P > &b)
 
template<typename T , typename U , typename P >
bool operator!= (const memory_pool_allocator< T, P > &a, const memory_pool_allocator< U, P > &b)
 
template<typename T , typename U , typename Body >
filter_t< T, U > make_filter (tbb::filter::mode mode, const Body &body)
 Create a filter to participate in parallel_pipeline. More...
 
template<typename T , typename V , typename U >
filter_t< T, U > operator & (const filter_t< T, V > &left, const filter_t< V, U > &right)
 
void parallel_pipeline (size_t max_number_of_live_tokens, const filter_t< void, void > &filter_chain, tbb::task_group_context &context)
 
void parallel_pipeline (size_t max_number_of_live_tokens, const filter_t< void, void > &filter_chain)
 

Function Documentation

◆ flatten2d() [1/2]

template<typename Container >
flattened2d<Container> tbb::interface6::flatten2d ( const Container &  c,
const typename Container::const_iterator  b,
const typename Container::const_iterator  e 
)

Definition at line 1149 of file enumerable_thread_specific.h.

1149  {
1150  return flattened2d<Container>(c, b, e);
1151  }

◆ flatten2d() [2/2]

template<typename Container >
flattened2d<Container> tbb::interface6::flatten2d ( const Container &  c)

Definition at line 1154 of file enumerable_thread_specific.h.

1154  {
1155  return flattened2d<Container>(c);
1156  }

◆ make_atomic()

template<typename T >
atomic<T> tbb::interface6::make_atomic ( t)

Make an atomic for use in an initialization (list), as an alternative to zero-initialization or normal assignment.

Definition at line 554 of file atomic.h.

554  {
555  atomic<T> a;
556  store<relaxed>(a,t);
557  return a;
558 }

◆ make_filter()

template<typename T , typename U , typename Body >
filter_t<T,U> tbb::interface6::make_filter ( tbb::filter::mode  mode,
const Body &  body 
)

Create a filter to participate in parallel_pipeline.

Definition at line 594 of file pipeline.h.

594  {
595  return new internal::filter_node_leaf<T,U,Body>(mode, body);
596 }
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t mode

References mode.

◆ operator &()

template<typename T , typename V , typename U >
filter_t<T,U> tbb::interface6::operator & ( const filter_t< T, V > &  left,
const filter_t< V, U > &  right 
)

Definition at line 599 of file pipeline.h.

599  {
600  __TBB_ASSERT(left.root,"cannot use default-constructed filter_t as left argument of '&'");
601  __TBB_ASSERT(right.root,"cannot use default-constructed filter_t as right argument of '&'");
602  return new internal::filter_node_join(*left.root,*right.root);
603 }
#define __TBB_ASSERT(predicate, comment)
No-op version of __TBB_ASSERT.
Definition: tbb_stddef.h:165

References __TBB_ASSERT, and tbb::interface6::filter_t< T, U >::root.

◆ operator!=()

template<typename T , typename U , typename P >
bool tbb::interface6::operator!= ( const memory_pool_allocator< T, P > &  a,
const memory_pool_allocator< U, P > &  b 
)
inline

Definition at line 183 of file memory_pool.h.

183 {return a.my_pool!=b.my_pool;}

References tbb::interface6::memory_pool_allocator< T, P >::my_pool.

◆ operator==()

template<typename T , typename U , typename P >
bool tbb::interface6::operator== ( const memory_pool_allocator< T, P > &  a,
const memory_pool_allocator< U, P > &  b 
)
inline

Definition at line 180 of file memory_pool.h.

180 {return a.my_pool==b.my_pool;}

References tbb::interface6::memory_pool_allocator< T, P >::my_pool.

◆ parallel_pipeline() [1/2]

void tbb::interface6::parallel_pipeline ( size_t  max_number_of_live_tokens,
const filter_t< void, void > &  filter_chain,
tbb::task_group_context context 
)
inline

Definition at line 656 of file pipeline.h.

660  {
661  internal::pipeline_proxy pipe(filter_chain);
662  // tbb::pipeline::run() is called via the proxy
663  pipe->run(max_number_of_live_tokens
665  , context
666 #endif
667  );
668 }
#define __TBB_TASK_GROUP_CONTEXT
Definition: tbb_config.h:541

References __TBB_TASK_GROUP_CONTEXT.

Referenced by parallel_pipeline().

Here is the caller graph for this function:

◆ parallel_pipeline() [2/2]

void tbb::interface6::parallel_pipeline ( size_t  max_number_of_live_tokens,
const filter_t< void, void > &  filter_chain 
)
inline

Definition at line 671 of file pipeline.h.

671  {
672  tbb::task_group_context context;
673  parallel_pipeline(max_number_of_live_tokens, filter_chain, context);
674 }
Used to form groups of tasks.
Definition: task.h:358
void parallel_pipeline(size_t max_number_of_live_tokens, const filter_t< void, void > &filter_chain)
Definition: pipeline.h:671

References parallel_pipeline().

Here is the call graph for this function:

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.