Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 25 of 59) sorted by relevance

123

/oneTBB/examples/parallel_for/tachyon/src/
H A Dtrace.serial.cpp74 unsigned int &serial, in render_one_pixel() argument
91 serial++; in render_one_pixel()
92 primary.serial = serial; in render_one_pixel()
98 serial = primary.serial; in render_one_pixel()
103 serial++; /* increment serial number */ in render_one_pixel()
105 sample.serial = serial; in render_one_pixel()
115 serial = sample.serial; /* update our overall serial # */ in render_one_pixel()
151 unsigned int serial = 1; in parallel_thread() local
161 render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread()
H A Dtrace.omp.cpp75 unsigned int &serial, in render_one_pixel() argument
92 serial++; in render_one_pixel()
93 primary.serial = serial; in render_one_pixel()
99 serial = primary.serial; in render_one_pixel()
104 serial++; /* increment serial number */ in render_one_pixel()
106 sample.serial = serial; in render_one_pixel()
117 serial = sample.serial; /* update our overall serial # */ in render_one_pixel()
153 unsigned int serial = 1; in parallel_thread() local
164 color_t c = render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread()
H A Dtrace.tbb1d.cpp82 unsigned int &serial, in render_one_pixel() argument
99 serial++; in render_one_pixel()
100 primary.serial = serial; in render_one_pixel()
106 serial = primary.serial; in render_one_pixel()
111 serial++; /* increment serial number */ in render_one_pixel()
113 sample.serial = serial; in render_one_pixel()
124 serial = sample.serial; /* update our overall serial # */ in render_one_pixel()
162 unsigned int serial = 1; in operator ()() local
172 render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in operator ()()
H A Dtrace.threads.cpp86 unsigned int &serial, in render_one_pixel() argument
103 serial++; in render_one_pixel()
104 primary.serial = serial; in render_one_pixel()
110 serial = primary.serial; in render_one_pixel()
115 serial++; /* increment serial number */ in render_one_pixel()
117 sample.serial = serial; in render_one_pixel()
129 serial = sample.serial; /* update our overall serial # */ in render_one_pixel()
188 unsigned int serial = 1; in parallel_thread() local
201 render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread()
H A Dtrace.taskq.cpp82 unsigned int &serial, in render_one_pixel() argument
99 serial++; in render_one_pixel()
100 primary.serial = serial; in render_one_pixel()
106 serial = primary.serial; in render_one_pixel()
111 serial++; /* increment serial number */ in render_one_pixel()
113 sample.serial = serial; in render_one_pixel()
124 serial = sample.serial; /* update our overall serial # */ in render_one_pixel()
198 unsigned int serial = 5 * ((stopx - startx) + (stopy - starty) * totalx); in parallel_thread() local
201 render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread()
H A Dtrace.simple.cpp74 unsigned int &serial, in render_one_pixel() argument
90 serial++; in render_one_pixel()
91 primary.serial = serial; in render_one_pixel()
96 serial = primary.serial; in render_one_pixel()
149 unsigned int serial = 1; in parallel_thread() local
154 color_t c = render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread()
H A Dtrace.tbb.cpp105 unsigned int &serial, in render_one_pixel() argument
128 serial++; in render_one_pixel()
129 primary.serial = serial; in render_one_pixel()
135 serial = primary.serial; in render_one_pixel()
140 serial++; /* increment serial number */ in render_one_pixel()
142 sample.serial = serial; in render_one_pixel()
153 serial = sample.serial; /* update our overall serial # */ in render_one_pixel()
197 unsigned int serial = 1; in operator ()() local
237 x, y, local_mbox, serial, startx, stopx, starty, stopy, colors[pos], alpha); in operator ()()
240 render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in operator ()()
H A Dtrace.threads2d.cpp89 unsigned int &serial, in render_one_pixel() argument
106 serial++; in render_one_pixel()
107 primary.serial = serial; in render_one_pixel()
113 serial = primary.serial; in render_one_pixel()
118 serial++; /* increment serial number */ in render_one_pixel()
120 sample.serial = serial; in render_one_pixel()
132 serial = sample.serial; /* update our overall serial # */ in render_one_pixel()
238 unsigned int serial = 1; in parallel_thread() local
253 render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread()
H A Dshade.cpp122 incident->serial++; in shader()
123 shadowray.serial = incident->serial; in shader()
194 specray.serial = incident->serial + 1; /* next serial number */ in shade_reflection()
203 incident->serial = specray.serial; /* update the serial number */ in shade_reflection()
217 transray.serial = incident->serial + 1; /* update serial number */ in shade_transmission()
226 incident->serial = transray.serial; in shade_transmission()
/oneTBB/examples/parallel_for/seismic/
H A DREADME.md21 seismic [n-of-threads=value] [n-of-frames=value] [silent] [serial] [-h] [n-of-threads [n-of-frames]]
27 * `serial` - in GUI mode start with serial version of algorithm.
33 * `space` - toggles between parallel and serial execution modes.
35 * `s` - enables serial execution mode.
H A Dmain.cpp57 bool serial = false; in ParseCommandLine() local
69 .arg(serial, "serial", "in GUI mode start with serial version of algorithm")); in ParseCommandLine()
70 return RunOptions(threads, numberOfFrames, silent, !serial); in ParseCommandLine()
/oneTBB/doc/main/tbb_userguide/design_patterns/
H A DDivide_and_Conquer.rst22 Divide and conquer is widely used in serial algorithms. Common
65 sorting problem into two subsorts. A simple serial version looks like [1]_.
101 Eventually the subsorts become small enough that serial execution is
102 …cient. The following variation, does sorts of less than 500 elements using the earlier serial code.
136 following code shows a serial solution that walks the tree. It
204 The results will *not* be in the same order as the original serial
209 example, use the serial walk for subtrees under a certain threshold.
H A DReference_Counting.rst23 will not be used in the future. Reference counting is a common serial
46 Thread-safe reference counting is like serial reference counting,
109 more expensive than ordinary increment/decrement. The serial
/oneTBB/examples/graph/cholesky/
H A DREADME.md4 …) `dpotrf` function to directly perform the factorization. This can be a serial implementation or …
6 **crout**: A serial implementation that uses the Crout-Cholesky algorithm for factorization. The sa…
8serial implementation is used to create an unrolled version of the computation. Where the oneMKL c…
10 …he tag represents the iteration values of the `i`, `j`, `k` loops in the serial implementation at …
/oneTBB/test/conformance/
H A Dconformance_async_node.cpp41 async_node<int, int, lightweight> lw_node1(g, serial, fun, lightweight());
42 …async_node<int, int, lightweight> lw_node2(g, serial, fun, lightweight(), oneapi::tbb::flow::node_…
153 …start_node_type starter(g, serial, [](std::size_t i) -> test_invoke::SmartID<std::size_t> { return… in __anon83a565ab0302()
154 async_node_type activity_submitter(g, serial, async_body);
H A Dconformance_graph.cpp75 Node f(g, oneapi::tbb::flow::serial, counting_body); in test_functional_nodes_rf_reset_protocol()
253 test_nodes_with_body_rf_reset_bodies<continue_node<int>, continue_msg>(serial);
254 test_nodes_with_body_rf_reset_bodies<function_node<int, int>, int>(serial);
255 test_nodes_with_body_rf_reset_bodies<multifunction_node<int, std::tuple<int>>, int>(serial);
256 test_nodes_with_body_rf_reset_bodies<async_node<int, int>, int>(serial);
294 oneapi::tbb::flow::function_node<int> f(g, oneapi::tbb::flow::serial, [&](int) { in __anon8ef3c1da0202()
H A Dconformance_multifunction_node.cpp74 multifunction_node<int, std::tuple<int>, lightweight> lw_node1(g, serial, fun, lightweight());
75 …multifunction_node<int, std::tuple<int>, lightweight> lw_node2(g, serial, fun, lightweight(), onea…
H A Dconformance_sequencer_node.cpp151 function_node<message> writer(g, tbb::flow::serial, [&] (const message& msg) { in __anona3025c380402()
180 …function_node<test_invoke::SmartID<std::size_t>, std::size_t> check(g, serial, [&](const test_invo… in __anona3025c380602()
H A Dconformance_function_node.cpp133 function_node<int, int, lightweight> lw_node1(g, serial, fun, lightweight());
134 …function_node<int, int, lightweight> lw_node2(g, serial, fun, lightweight(), oneapi::tbb::flow::no…
/oneTBB/doc/main/tbb_userguide/
H A DCook_Until_Done_parallel_do.rst15 is inherently serial. But if you are limited to linked lists, the items
21 For example, consider the following serial code:
67 serial. But in many situations, you still get useful speedup over doing
H A DFlow_Graph_Single_Vs_Broadcast.rst48 function_node<continue_msg> f1(g,serial,fn_body1(b1));
49 function_node<continue_msg> f2(g,serial,fn_body1(b2));
50 function_node<continue_msg> f3(g,serial,fn_body1(b3));
H A DThroughput_of_pipeline.rst22 serial filters are limited by the I/O speed of the system. Indeed, even
25 filters need to be doing some heavy lifting compared to the serial
H A DSummary_of_Containers.rst9 scenarios where the alternative would be a serial container with a lock
/oneTBB/doc/main/reference/
H A Dhelpers_for_expressing_graphs.rst65 function_node summer(g, serial, [&](const std::tuple<int, int, int>& v) {
107 function_node summer(follows(join), serial,
/oneTBB/test/tbb/
H A Dtest_flow_graph_whitebox.cpp84 …tbb::flow::function_node<int,int,tbb::flow::rejecting> fnode(g, tbb::flow::serial, serial_fn_body<… in TestBufferingNode()
151 … tbb::flow::function_node<int> fnode0(g, tbb::flow::serial, serial_fn_body<int>(serial_fn_state0)); in TestContinueNode()
154 … tbb::flow::function_node<int> fnode1(g, tbb::flow::serial, serial_fn_body<int>(serial_fn_state1)); in TestContinueNode()
237 …tbb::flow::function_node<int,int, tbb::flow::rejecting > fnode0(g, tbb::flow::serial, serial_fn_… in TestFunctionNode()
238 …tbb::flow::function_node<int,int/*, tbb::flow::queueing*/> fnode1(g, tbb::flow::serial, serial_fn_… in TestFunctionNode()
574 multinode_type mf(g, tbb::flow::serial, mf_body<multinode_type>(serial_fn_state0)); in TestMultifunctionNode()
667 … tbb::flow::function_node<int> fnode(g, tbb::flow::serial, serial_fn_body<int>(serial_fn_state0)); in TestSequencerNode()
865 … tbb::flow::function_node<int, int> f(g, tbb::flow::serial, serial_fn_body<int>(serial_fn_state0));

123