Home
last modified time | relevance | path

Searched refs:token (Results 1 – 7 of 7) sorted by relevance

/oneTBB/doc/main/tbb_userguide/
H A Dcreate_token_based_system.rst8 is to use tokens. In a token-based system, a limited number of tokens
10 the graph until it can be paired with an available token. When a message
11 is retired from the graph, its token is released, and can be paired with
44 A token-based system can be created by using reserving join_nodes.
109 In the above code, you can see that the ``function_node`` returns the token
110 back to the ``buffer_node``. This cycle in the flow graph allows the token
114 buffered in the ``input_node``, awaiting a token to be paired with.
118 use any type for a token, including objects or pointers to arrays.
138 A token based system is therefore very flexible. You are free to declare
139 the token to be of any type and to inject or remove tokens from the
[all …]
H A DNon-Linear_Pipelines.rst27 throughput. The latency is the time it takes a token to flow from the
30 filters. This is because filters A and B could process the token
31 concurrently, and likewise filters D and E could process the token
H A DThroughput_of_pipeline.rst29 The window size, or sub-problem size for each token, can also limit
H A DWorking_on_the_Assembly_Line_pipeline.rst130 a serial in-order filter, each token must be processed serially in
138 reached, the pipeline never creates a new token at the input filter
139 until another token is destroyed at the output filter.
/oneTBB/src/tbb/
H A Dparallel_pipeline.cpp190 Token token; in try_put_token() local
196 token = info.my_token; in try_put_token()
198 token = high_token++; in try_put_token()
199 __TBB_ASSERT( (long)(token-low_token)>=0, nullptr ); in try_put_token()
200 if( token!=low_token ) { in try_put_token()
203 if( token-low_token>=array_size ) in try_put_token()
204 grow( token-low_token+1 ); in try_put_token()
206 array[token&(array_size-1)] = info; in try_put_token()
/oneTBB/include/oneapi/tbb/detail/
H A D_pipeline_filters.h179 static value_type & token(pointer & t) { return *t; }
182 static void destroy_token(pointer token) {
183 token->~value_type();
184 r1::deallocate_memory(token);
194 static value_type & token(pointer & t) { return t; }
210 static value_type & token(pointer & t) { return t; }
236 …put_helper::create_token(tbb::detail::invoke(my_body, std::move(input_helper::token(temp_input))));
284 tbb::detail::invoke(my_body, std::move(input_helper::token(temp_input)));
/oneTBB/.github/workflows/
H A Dissue_labeler.yml32 repo-token: "${{ secrets.GITHUB_TOKEN }}"