| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | trace.serial.cpp | 74 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 D | trace.omp.cpp | 75 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 D | trace.tbb1d.cpp | 82 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 D | trace.threads.cpp | 86 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 D | trace.taskq.cpp | 82 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 D | trace.simple.cpp | 74 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 D | trace.tbb.cpp | 105 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 D | trace.threads2d.cpp | 89 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 D | shade.cpp | 122 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 D | README.md | 21 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 D | main.cpp | 57 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 D | Divide_and_Conquer.rst | 22 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 D | Reference_Counting.rst | 23 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 D | README.md | 4 …) `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… 8 …serial 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 D | conformance_async_node.cpp | 41 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 D | conformance_graph.cpp | 75 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 D | conformance_multifunction_node.cpp | 74 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 D | conformance_sequencer_node.cpp | 151 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 D | conformance_function_node.cpp | 133 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 D | Cook_Until_Done_parallel_do.rst | 15 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 D | Flow_Graph_Single_Vs_Broadcast.rst | 48 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 D | Throughput_of_pipeline.rst | 22 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 D | Summary_of_Containers.rst | 9 scenarios where the alternative would be a serial container with a lock
|
| /oneTBB/doc/main/reference/ |
| H A D | helpers_for_expressing_graphs.rst | 65 function_node summer(g, serial, [&](const std::tuple<int, int, int>& v) { 107 function_node summer(follows(join), serial,
|
| /oneTBB/test/tbb/ |
| H A D | test_flow_graph_whitebox.cpp | 84 …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));
|