Home
last modified time | relevance | path

Searched refs:one (Results 1 – 25 of 68) sorted by relevance

123

/oneTBB/doc/main/tbb_userguide/
H A DNodes.rst11 one input message or generate more than one output message.
20 represents a simple function with one input and one output. The
146 The library spawns three tasks, each one applying n's lambda expression
147 to one of the messages. If you have a sufficient number of threads
149 occur in parallel. If however, you have only one thread in the system,
H A DLock_Pathologies.rst17 Deadlock happens when threads are trying to acquire more than one
25 - Each thread holds at least one lock on a mutex, and is waiting on
45 acquire a lock on one of each, you could always acquire the "outer
46 sanctum" one first. Another example is "acquire locks in
H A DMemory_Allocation.rst17 only one thread to allocate at a time.
28 caches. If one processor modifies a cache line and another processor
29 reads the same cache line, the line must be moved from one processor
55 cost in space, because it must allocate at least one cache line’s
H A DGuiding_Task_Scheduler_Execution.rst38 may cause a performance penalty if threads from one NUMA node access the memory allocated on
81 .. rubric:: Limiting the maximum number of threads simultaneously scheduled to one core
84 allow more than one thread to run on each core simultaneously. However, there might be situations
88 The example shows how to allow only one thread to run on each core at a time:
111 number of available cores. However, this one results in fewer overheads and better composability
H A DReader_Writer_Mutexes.rst7 Mutual exclusion is necessary when at least one thread *writes* to a
11 *reader locks* from *writer locks.* There can be more than one reader
H A DMapping_Nodes2Tasks.rst7 The following figure shows the timeline for one possible execution of
10 three calls to try_put spawn three tasks; each one applies the lambda
11 expression, λ\ :sub:`n`, on one of the three input messages. Because n
H A DPredefined_Node_Types.rst29 …ntrollable concurrency level and buffering policy. For each input exactly one output is returned.
37 …- Single-input, single-output nodes that buffer messages and send their output to one successor…
39 …and the output type is a tuple of these generic types. The node combines one message from each i…
41 …ti-output node. The input type is a tuple of generic types and there is one output port for eac…
47 … of generic types and the output type is a tagged_msg. The message is of one of the types list…
H A Dattach_flow_graph_to_arena.rst15 This example shows how to set the most performant core type as the preferred one
30 core type as the preferred one for a work execution. Whenever a task is spawned on behalf
H A DMutex_Flavors.rst9 generality and efficiency. Picking the right one often helps
15 this is not an accurate name, because a mutex limits execution to one
16 thread at a time. A *scalable mutex* is one that does not do *worse*
89 to take a Mutex type parameter. The parameter can be one of the real
H A DContainers.rst16 mutex to make them safe for concurrent access, by letting only one
22 via one or both of the following methods:
H A Duse_concurrency_limits.rst12 A function node is constructed with one or more template arguments. The
77 simultaneously, three in the ``function_node`` and one buffered in the
H A DTask-Based_Programming.rst34 when there is exactly one running logical thread per physical thread.
42 one logical thread per physical thread, and mapping tasks to logical
87 threads to get good efficiency, because you have one logical thread per
H A Dbroadcast_or_send.rst84 nodes push each message to only one successor. And, you can use this
85 characteristic to create useful graph structures such as the one shown
92 creating one priority_queue_node for each function_node, and pushing
H A DGraph_Main_Categories.rst7 Most flow graphs fall into one of two categories:
H A DThe_Task_Scheduler.rst12 onto one of the high-level templates, use the task scheduler.
H A DScalable_Memory_Allocator.rst8 consists of two dynamic shared libraries, one with
H A DData_Flow_Graph.rst72 - one to square values
73 - one to cube values
74 - one to add values to the global sum
H A DFlow_Graph_Single_Vs_Broadcast.rst13 are able to accept a message, each message will be only sent to one
97 for which node is pushed to if more than one successor can accept.
H A Dcreate_token_based_system.rst29 The buffer policy can be one of the following:
51 The ``input_node`` will only generate an input when one is pulled from it
113 the graph. There could be three big objects in the ``function_node`` and one
/oneTBB/examples/parallel_for/polygon_overlay/
H A DREADME.md8 * The naive parallel solution, by splitting list of polygons from one map and intersecting each sub…
9one submap). To prevent multiple copies of a polygon from being placed in the solution map, if bot…
11 …rea of the generated sub-polygons are subtracted from the original area of one of the source polyg…
23 One further optimization would be to sort one map, say map1, by maxY, and sort the other map (map2)…
25 … polygons, then `N` "boxes" are chosen at random, then one-at-a-time the areas are expanded in one
/oneTBB/doc/main/intro/
H A Dnotation.rst29 …- Braces and vertical bars indicate the choice of one item from a selection of two or more …
36 … - \ ``filename`` ... Indicates that one or more filenames can be specified.
39 …- \ ``word`` ,... Indicates that one or more words can be specified. If more than on…
/oneTBB/src/tbb/
H A Dtask_stream.h54 const population_t one = 1; variable
59 dest.fetch_or( one<<pos ); in set_one_bit()
65 dest.fetch_and( ~(one<<pos) ); in clear_one_bit()
71 return (val & (one<<pos)) != 0; in is_bit_set()
/oneTBB/doc/main/reference/
H A Dtask_group_extensions.rst66 … the function must be created using ``*this`` ``task_group``. That is, the one for which the run m…
73 … the function must be created using ``*this`` ``task_group``. That is, the one for which the run m…
81 …function must be created with ``*this`` ``task_group``. It means, with the one for which run metho…
/oneTBB/examples/task_group/sudoku/
H A DREADME.md21 sudoku [n-of-threads=value] [filename=value] [verbose] [silent] [find-one] [-h] [n-of-threads [file…
28 * `find-one` - stops after finding first solution.
/oneTBB/integration/windows/env/
H A Dvars.bat20 REM ^<arch^> should be one of the following
24 REM ^<vs^> should be one of the following

123