/external/pthreadpool/src/ |
D | shim.c | 142 size_t range_k, in pthreadpool_parallelize_3d() argument 147 for (size_t k = 0; k < range_k; k++) { in pthreadpool_parallelize_3d() 160 size_t range_k, in pthreadpool_parallelize_3d_tile_1d() argument 166 for (size_t k = 0; k < range_k; k += tile_k) { in pthreadpool_parallelize_3d_tile_1d() 167 task(argument, i, j, k, min(range_k - k, tile_k)); in pthreadpool_parallelize_3d_tile_1d() 179 size_t range_k, in pthreadpool_parallelize_3d_tile_2d() argument 186 for (size_t k = 0; k < range_k; k += tile_k) { in pthreadpool_parallelize_3d_tile_2d() 188 min(range_j - j, tile_j), min(range_k - k, tile_k)); in pthreadpool_parallelize_3d_tile_2d() 202 size_t range_k, in pthreadpool_parallelize_3d_tile_2d_with_uarch() argument 209 for (size_t k = 0; k < range_k; k += tile_k) { in pthreadpool_parallelize_3d_tile_2d_with_uarch() [all …]
|
D | portable-api.c | 340 const struct fxdiv_divisor_size_t range_k = threadpool->params.parallelize_3d.range_k; in thread_parallelize_3d() local 341 const struct fxdiv_result_size_t index_ij_k = fxdiv_divide_size_t(range_start, range_k); in thread_parallelize_3d() 350 if (++k == range_k.value) { in thread_parallelize_3d() 369 const struct fxdiv_result_size_t index_ij_k = fxdiv_divide_size_t(linear_index, range_k); in thread_parallelize_3d() 397 const size_t range_k = threadpool->params.parallelize_3d_tile_1d.range_k; in thread_parallelize_3d_tile_1d() local 399 task(argument, i, j, start_k, min(range_k - start_k, tile_k)); in thread_parallelize_3d_tile_1d() 401 if (start_k >= range_k) { in thread_parallelize_3d_tile_1d() 423 task(argument, index_i_j.quotient, index_i_j.remainder, start_k, min(range_k - start_k, tile_k)); in thread_parallelize_3d_tile_1d() 450 const size_t range_k = threadpool->params.parallelize_3d_tile_2d.range_k; in thread_parallelize_3d_tile_2d() local 453 …task(argument, i, start_j, start_k, min(range_j - start_j, tile_j), min(range_k - start_k, tile_k)… in thread_parallelize_3d_tile_2d() [all …]
|
D | legacy-api.c | 70 size_t range_k; member 89 const size_t tile_k = min(max_tile_k, context->range_k - index_k); in compute_3d_tiled() 99 size_t range_k, in pthreadpool_compute_3d_tiled() argument 108 for (size_t k = 0; k < range_k; k += tile_k) { in pthreadpool_compute_3d_tiled() 109 …function(argument, i, j, k, min(range_i - i, tile_i), min(range_j - j, tile_j), min(range_k - k, t… in pthreadpool_compute_3d_tiled() 117 const size_t tile_range_k = divide_round_up(range_k, tile_k); in pthreadpool_compute_3d_tiled() 125 .range_k = range_k, in pthreadpool_compute_3d_tiled() 145 size_t range_k; member 170 const size_t tile_k = min(max_tile_k, context->range_k - index_k); in compute_4d_tiled() 181 size_t range_k, in pthreadpool_compute_4d_tiled() argument [all …]
|
D | threadpool-object.h | 190 struct fxdiv_divisor_size_t range_k; member 197 size_t range_k; member 224 size_t range_k; member 259 size_t range_k; member 278 size_t range_k; member 297 size_t range_k; member 324 size_t range_k; member 363 size_t range_k; member 402 struct fxdiv_divisor_size_t range_k; member 417 size_t range_k; member [all …]
|
D | fastpath.c | 374 const struct fxdiv_divisor_size_t range_k = threadpool->params.parallelize_3d.range_k; in pthreadpool_thread_parallelize_3d_fastpath() local 375 const struct fxdiv_result_size_t index_ij_k = fxdiv_divide_size_t(range_start, range_k); in pthreadpool_thread_parallelize_3d_fastpath() 384 if (++k == range_k.value) { in pthreadpool_thread_parallelize_3d_fastpath() 402 const struct fxdiv_result_size_t index_ij_k = fxdiv_divide_size_t(linear_index, range_k); in pthreadpool_thread_parallelize_3d_fastpath() 436 const size_t range_k = threadpool->params.parallelize_3d_tile_1d.range_k; in pthreadpool_thread_parallelize_3d_tile_1d_fastpath() local 438 task(argument, i, j, start_k, min(range_k - start_k, tile_k)); in pthreadpool_thread_parallelize_3d_tile_1d_fastpath() 440 if (start_k >= range_k) { in pthreadpool_thread_parallelize_3d_tile_1d_fastpath() 461 task(argument, index_i_j.quotient, index_i_j.remainder, start_k, min(range_k - start_k, tile_k)); in pthreadpool_thread_parallelize_3d_tile_1d_fastpath() 494 const size_t range_k = threadpool->params.parallelize_3d_tile_2d.range_k; in pthreadpool_thread_parallelize_3d_tile_2d_fastpath() local 497 …task(argument, i, start_j, start_k, min(range_j - start_j, tile_j), min(range_k - start_k, tile_k)… in pthreadpool_thread_parallelize_3d_tile_2d_fastpath() [all …]
|
/external/pthreadpool/include/ |
D | pthreadpool.h | 405 size_t range_k, 446 size_t range_k, 491 size_t range_k, 553 size_t range_k, 596 size_t range_k, 641 size_t range_k, 690 size_t range_k, 756 size_t range_k, 803 size_t range_k, 852 size_t range_k, [all …]
|