Home
last modified time | relevance | path

Searched refs:items (Results 1 – 23 of 23) sorted by relevance

/oneTBB/doc/main/tbb_userguide/
H A DUsing_Circular_Buffers.rst8 allocating and freeing the items passed between pipeline filters. If the
10 both ``serial_in_order``, the items can be allocated and freed via a
16 The reason this works is that at most ``ntoken`` items can be in flight,
17 and items will be freed in the order that they were allocated. Hence by
H A DCook_Until_Done_parallel_do.rst14 arrays instead of linked lists, because accessing items in a linked list
15 is inherently serial. But if you are limited to linked lists, the items
83 ``parallel_for_each`` does not terminate until all items have been
H A Dappendix_A.rst23 has to evict items from cache and put them back into main memory.
24 Typically, it chooses the least recently used items in the cache. (The
H A DWhen_Not_to_Use_Queues.rst30 do other work until a value shows up. It also tries to keep items hot in
H A DContainers.rst13 and update items in the container. Typical C++ STL containers do not
H A Duse_limiter_node.rst19 argument sets the maximum number of items that should be allowed to pass
H A DWorking_on_the_Assembly_Line_pipeline.rst154 - The *mode* specifies whether the filter processes items in parallel,
189 process items in the same order. Thus if an item arrives at
/oneTBB/doc/main/tbb_userguide/Migration_Guide/
H A DTask_API.rst126 std::vector<int> items = { 0, 1, 2, 3, 4, 5, 6, 7 };
129 root.set_ref_count(items.size() + 1);
131 for (std::size_t i = 0; i < items.size(); ++i) {
151 std::vector<int> items = { 0, 1, 2, 3, 4, 5, 6, 7 };
154 items.begin(), items.end(),
177 std::vector<int> items = { 0, 1, 2, 3, 4, 5, 6, 7 };
180 for (std::size_t i = 0; i < items.size(); ++i) {
181 tg.run([&i = items[i], &tg] {
318 std::vector<int> items(10, 0);
319 std::atomic<std::size_t> tasks_left{items.size()};
[all …]
/oneTBB/src/tbbmalloc/
H A Dshared_utils.h105 void parseFile(const char* file, const parseFileItem (&items)[N]) {
116 if (!found[i] && 1 == sscanf(buf, items[i].format, &items[i].value)) {
/oneTBB/doc/main/tbb_userguide/design_patterns/
H A DWavefront.rst13 Perform computations on items in a data set, where the computation on
14 an item uses results from computations on predecessor items.
32 - Dependence constraints between items form an acyclic graph.
47 ``oneapi::tbb::parallel_for_each`` to process items. Associate an atomic
49 predecessors. Invoke ``oneapi::tbb::parallel_for_each`` to process the items that
62 If the overhead of counting individual items is excessive, aggregate
63 items into blocks, and do the wavefront over the blocks.
H A DElementwise.rst13 Initiate similar independent computations across items in a data set,
23 Many serial algorithms sweep over a set of items and do an
43 If the number of items is known in advance, use
H A DLocal_Serializer.rst46 Sequence the work items using a FIFO (first-in first-out structure).
55 number of items waiting and in flight. The example explains the
203 std::atomic<int> count; // Count of queued items and in-flight item
273 The pattern generalizes to constraints on work items more general
277 ``Serializer::noteCompletion`` runs all previously constrained items
H A DOdd-Even_Communication.rst41 - Dependencies between items form a bipartite graph.
H A DNon-Preemptive_Priorities.rst35 - Given multiple work items, there is a rule for which item should
41 items in flight. If preemptive priorities are necessary, then
H A DGUI_Thread.rst71 by the GUI thread; items in blue are executed by another thread.
H A DReduction.rst22 Many serial algorithms sweep over a set of items to collect summary
/oneTBB/doc/main/reference/
H A Dconcurrent_lru_cache_cls.rst22 The container permits multiple threads to concurrently retrieve items from it.
24 The container tracks which items are in use by returning a proxy
28 The container stores all the items that are currently in use plus a limited
29 number of unused items. Excessive unused items are erased according to
/oneTBB/test/common/
H A Dconcurrent_associative_common.h676 FillTable(Container& table, int items, bool asymptotic)
677 : my_table(table), my_items(items), my_asymptotic(asymptotic)
679 REQUIRE((!(items&1) && items > 100));
779 int items = 2000;
781 int items = 20000;
790 items = 4 * items / (num_threads + 2);
791 items_inserted = items + (num_threads - 2) * items / 4;
793 items_inserted = items;
801 atomic_byte_type* array = new atomic_byte_type[items];
802 std::memset(static_cast<void*>(array), 0, items * sizeof(atomic_byte_type));
[all …]
H A Dconcurrent_ordered_common.h138 int items = 1000; in test_concurrent_order() local
143 for (int i = 0; i < items; i += step) { in test_concurrent_order()
147 for (int i = items; i > 0; i -= step) { in test_concurrent_order()
/oneTBB/doc/main/intro/
H A Dnotation.rst29 …ces and vertical bars indicate the choice of one item from a selection of two or more items.
/oneTBB/include/oneapi/tbb/detail/
H A D_concurrent_queue_base.h85 return items[index];
90 return items[index];
97 value_type items[items_per_page]; member
/oneTBB/examples/graph/fgbzip2/
H A Dbzlib.cpp143 static void* default_bzalloc(void* opaque, Int32 items, Int32 size) { in default_bzalloc() argument
144 void* v = malloc(items * size); in default_bzalloc()
/oneTBB/doc/
H A DDoxyfile.in12 # For lists, items can also be appended using:
1366 # The TOC_EXPAND flag can be set to YES to add extra items for group members to
2289 # number of items for each type to make the size more manageable. Set this to 0