File tree Expand file tree Collapse file tree 5 files changed +8
-12
lines changed Expand file tree Collapse file tree 5 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 25
25
26
26
# -- Project information -----------------------------------------------------
27
27
28
- if BUILD_TYPE == 'oneapi' :
28
+ if BUILD_TYPE == 'oneapi' or BUILD_TYPE == 'dita' :
29
29
project = u'Intel® oneAPI Threading Building Blocks (oneTBB)'
30
30
else :
31
31
project = u'oneAPI Threading Building Blocks (oneTBB)'
90
90
# Syntax highlighting for the :: directive
91
91
highlight_language = 'cpp'
92
92
93
- if BUILD_TYPE == 'oneapi' :
93
+ if BUILD_TYPE == 'oneapi' or BUILD_TYPE == 'dita' :
94
94
rst_prolog = """
95
95
.. |full_name| replace:: Intel\ |reg|\ oneAPI Threading Building Blocks (oneTBB)
96
96
.. |short_name| replace:: oneTBB
120
120
# further. For a list of options available for each theme, see the
121
121
# documentation.
122
122
#
123
- if BUILD_TYPE == 'oneapi' :
123
+ if BUILD_TYPE == 'oneapi' or BUILD_TYPE == 'dita' :
124
124
html_theme = 'sphinx_rtd_theme'
125
125
else :
126
126
html_theme = 'sphinx_book_theme'
140
140
# so a file named "default.css" will overwrite the builtin "default.css".
141
141
html_static_path = ['_static' ]
142
142
143
- if BUILD_TYPE == 'oneapi' :
143
+ if BUILD_TYPE == 'oneapi' or BUILD_TYPE == 'dita' :
144
144
html_context = {
145
145
'css_files' : [
146
146
'_static/theme_overrides.css' , # override wide tables in RTD theme
Original file line number Diff line number Diff line change @@ -191,8 +191,7 @@ This final implementation has all of the nodes and edges from the
191
191
much advantage in using an ``input_node `` over an explicit loop. But,
192
192
because an ``input_node `` is able to react to the behavior of downstream
193
193
nodes, it can limit memory use in more complex graphs. For more
194
- information, see `Creating a Token-Based
195
- System <create_token_based_system.html#create_token_based_system> `__
194
+ information, see:ref: `create_token_based_system ` .
196
195
197
196
198
197
.. |image0 | image :: Images/flow_graph.jpg
Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ You may not always want to block the main application thread by calling
9
9
wait_for_all(). However, it is safest to call wait_for_all on a graph
10
10
before destroying it. A common solution is to enqueue a task to build
11
11
and wait for the graph to complete. For example, assume you really do
12
- not want to call a wait_for_all in the example from `Always Use
13
- wait_for_all() <always_use_wait_for_all.html#always_use_wait4all> `__,
12
+ not want to call a wait_for_all in the example from :ref: `always_use_wait_for_all `,
14
13
Instead you can enqueue a task that creates the graph and waits for it:
15
14
16
15
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ Use graph::reset() to Reset a Canceled Graph
7
7
When a graph execution is canceled either because of an unhandled
8
8
exception or because its task_group_context is canceled explicitly, the
9
9
graph and its nodes may be left in an indeterminate state. For example,
10
- in the code samples shown in `Cancel a Graph
11
- Explicitly <cancel_a_graph.html#cancel_a_graph> `__ the input 2 may be
10
+ in the code samples shown in :ref: `cancel_a_graph ` the input 2 may be
12
11
left in a buffer. But even beyond remnants in the buffers, there are
13
12
other optimizations performed during the execution of a flow graph that
14
13
can leave its nodes and edges in an indeterminate state. If you want to
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ All ``input_node`` objects are constructed in the inactive state and usually
29
29
activated after the entire flow graph is constructed.
30
30
31
31
32
- For example, you can use the code in `Data Flow
33
- Graph <Data_Flow_Graph.html#Data_Flow_Graph> `__. In that implementation,
32
+ For example, you can use the code in :ref: `Data_Flow_Graph `. In that implementation,
34
33
the ``input_node `` is constructed in the inactive state and activated after
35
34
all other edges are made:
36
35
You can’t perform that action at this time.
0 commit comments