| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | trace.taskq.cpp | 69 static int starty; variable 85 int starty, in render_one_pixel() argument 164 int startx, stopx, starty, stopy; in parallel_thread() local 169 starty = pchin->starty; in parallel_thread() 172 if (((stopx - startx) >= grain_size) || ((stopy - starty) >= grain_size)) { in parallel_thread() 174 int ypatchsize = (stopy - starty) / DIVFACTOR + 1; in parallel_thread() 175 for (ys = starty; ys <= stopy; ys += ypatchsize) in parallel_thread() 179 pch.starty = ys; in parallel_thread() 194 for (int i = 1, y = starty; y < stopy; ++y, i++) { in parallel_thread() 216 starty = parms->starty; in thread_trace() [all …]
|
| H A D | trace.threads2d.cpp | 66 static int starty; variable 92 int starty, in render_one_pixel() argument 176 int startx, stopx, starty, stopy; in generate_work() local 181 starty = pchin->starty; in generate_work() 186 int ypatchsize = (stopy - starty) / DIVFACTOR + 1; in generate_work() 187 for (ys = starty; ys <= stopy; ys += ypatchsize) in generate_work() 191 pch.starty = ys; in generate_work() 201 q->pch.starty = starty; in generate_work() 220 pch.starty = starty; in generate_worklist() 249 for (int i = 1, y = pch.starty; y < pch.stopy; ++y, i++) { in parallel_thread() [all …]
|
| H A D | trace_rest.cpp | 82 writetgaregion(p.tga, p.iwidth, p.iheight, p.startx, p.starty, p.stopx, p.stopy, p.buffer); in thread_io() 89 void trace_shm(scenedef scene, /*char * buffer, */ int startx, int stopx, int starty, int stopy) { in trace_shm() argument 99 parms->starty = starty; in trace_shm() 107 void trace_region(scenedef scene, void *tga, int startx, int starty, int stopx, int stopy) { in trace_region() argument 114 starty, in trace_region() 120 trace_shm(scene, /*buffer,*/ startx, stopx, starty, stopy); in trace_region()
|
| H A D | trace.simple.cpp | 66 static int starty; variable 77 int starty, in render_one_pixel() argument 141 for (int y = starty; y < stopy; y++) in parallel_thread() 144 for (int y = starty; y < stopy; y++) in parallel_thread() 146 oneapi::tbb::parallel_for(starty, stopy, [mboxsize] (int y) in parallel_thread() 154 color_t c = render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread() 170 starty = parms->starty; in thread_trace()
|
| H A D | trace.tbb1d.cpp | 66 static int starty; variable 85 int starty, in render_one_pixel() argument 172 render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in operator ()() 196 starty = parms->starty; in thread_trace() 209 oneapi::tbb::blocked_range<int>(starty, stopy, grain_size), parallel_task(), g_ap); in thread_trace() 211 oneapi::tbb::parallel_for(oneapi::tbb::blocked_range<int>(starty, stopy, grain_size), in thread_trace() 215 oneapi::tbb::parallel_for(oneapi::tbb::blocked_range<int>(starty, stopy, grain_size), in thread_trace()
|
| H A D | trace.serial.cpp | 66 static int starty; variable 77 int starty, in render_one_pixel() argument 156 for (int y = starty; y < stopy; y++) { in parallel_thread() 161 render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread() 176 starty = parms->starty; in thread_trace()
|
| H A D | trace.omp.cpp | 67 static int starty; variable 78 int starty, in render_one_pixel() argument 159 for (int y = starty; y < stopy; y++) { in parallel_thread() 164 color_t c = render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread() 177 starty = parms->starty; in thread_trace()
|
| H A D | trace.threads.cpp | 66 static int starty; variable 89 int starty, in render_one_pixel() argument 174 sched_nexty += ((stopy - starty + 1) / nthreads); in schedule_thread_work() 201 render_one_pixel(x, y, local_mbox, serial, startx, stopx, starty, stopy); in parallel_thread() 249 starty = parms->starty; in thread_trace() 266 sched_nexty = starty; // initialize schedule_thread_work() self-scheduler in thread_trace()
|
| H A D | trace.tbb.cpp | 66 static int starty; variable 108 int starty, in render_one_pixel() argument 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 ()() 265 starty = parms->starty; in thread_trace() 284 oneapi::tbb::blocked_range2d<int>(starty, stopy, grain_size, startx, stopx, grain_size), in thread_trace() 289 oneapi::tbb::blocked_range2d<int>(starty, stopy, grain_size, startx, stopx, grain_size), in thread_trace() 295 oneapi::tbb::blocked_range2d<int>(starty, stopy, grain_size, startx, stopx, grain_size), in thread_trace()
|
| H A D | trace.hpp | 61 int starty; member 68 int starty; member 77 int starty; member
|
| H A D | tgafile.cpp | 120 int starty, in writetgaregion() argument 131 totaly = stopy - starty + 1; in writetgaregion() 135 filepos = 18 + iwidth * 3 * (iheight - starty - totaly + y + 1) + (startx - 1) * 3; in writetgaregion()
|