/external/pthreadpool/src/ |
D | legacy-api.c | 150 size_t tile_l; member 163 const size_t max_tile_l = context->tile_l; in compute_4d_tiled() 171 const size_t tile_l = min(max_tile_l, context->range_l - index_l); in compute_4d_tiled() local 172 …t->function(context->argument, index_i, index_j, index_k, index_l, tile_i, tile_j, tile_k, tile_l); in compute_4d_tiled() 186 size_t tile_l) in pthreadpool_compute_4d_tiled() argument 193 for (size_t l = 0; l < range_l; l += tile_l) { in pthreadpool_compute_4d_tiled() 195 …ange_i - i, tile_i), min(range_j - j, tile_j), min(range_k - k, tile_k), min(range_l - l, tile_l)); in pthreadpool_compute_4d_tiled() 205 const size_t tile_range_l = divide_round_up(range_l, tile_l); in pthreadpool_compute_4d_tiled() 219 .tile_l = tile_l in pthreadpool_compute_4d_tiled()
|
D | shim.c | 246 size_t tile_l, in pthreadpool_parallelize_4d_tile_1d() argument 252 for (size_t l = 0; l < range_l; l += tile_l) { in pthreadpool_parallelize_4d_tile_1d() 253 task(argument, i, j, k, l, min(range_l - l, tile_l)); in pthreadpool_parallelize_4d_tile_1d() 269 size_t tile_l, in pthreadpool_parallelize_4d_tile_2d() argument 275 for (size_t l = 0; l < range_l; l += tile_l) { in pthreadpool_parallelize_4d_tile_2d() 277 min(range_k - k, tile_k), min(range_l - l, tile_l)); in pthreadpool_parallelize_4d_tile_2d() 295 size_t tile_l, in pthreadpool_parallelize_4d_tile_2d_with_uarch() argument 301 for (size_t l = 0; l < range_l; l += tile_l) { in pthreadpool_parallelize_4d_tile_2d_with_uarch() 303 min(range_k - k, tile_k), min(range_l - l, tile_l)); in pthreadpool_parallelize_4d_tile_2d_with_uarch() 368 size_t tile_l, in pthreadpool_parallelize_5d_tile_2d() argument [all …]
|
D | portable-api.c | 623 const size_t tile_l = threadpool->params.parallelize_4d_tile_1d.tile_l; in thread_parallelize_4d_tile_1d() local 627 size_t start_l = tile_index_k_l.remainder * tile_l; in thread_parallelize_4d_tile_1d() 632 task(argument, i, j, k, start_l, min(range_l - start_l, tile_l)); in thread_parallelize_4d_tile_1d() 633 start_l += tile_l; in thread_parallelize_4d_tile_1d() 659 const size_t start_l = tile_index_k_l.remainder * tile_l; in thread_parallelize_4d_tile_1d() 660 …j.quotient, index_i_j.remainder, tile_index_k_l.quotient, start_l, min(range_l - start_l, tile_l)); in thread_parallelize_4d_tile_1d() 684 const size_t tile_l = threadpool->params.parallelize_4d_tile_2d.tile_l; in thread_parallelize_4d_tile_2d() local 688 size_t start_l = tile_index_k_l.remainder * tile_l; in thread_parallelize_4d_tile_2d() 693 …(argument, i, j, start_k, start_l, min(range_k - start_k, tile_k), min(range_l - start_l, tile_l)); in thread_parallelize_4d_tile_2d() 694 start_l += tile_l; in thread_parallelize_4d_tile_2d() [all …]
|
D | fastpath.c | 682 const size_t tile_l = threadpool->params.parallelize_4d_tile_1d.tile_l; in pthreadpool_thread_parallelize_4d_tile_1d_fastpath() local 686 size_t start_l = tile_index_k_l.remainder * tile_l; in pthreadpool_thread_parallelize_4d_tile_1d_fastpath() 691 task(argument, i, j, k, start_l, min(range_l - start_l, tile_l)); in pthreadpool_thread_parallelize_4d_tile_1d_fastpath() 692 start_l += tile_l; in pthreadpool_thread_parallelize_4d_tile_1d_fastpath() 717 const size_t start_l = tile_index_k_l.remainder * tile_l; in pthreadpool_thread_parallelize_4d_tile_1d_fastpath() 718 …j.quotient, index_i_j.remainder, tile_index_k_l.quotient, start_l, min(range_l - start_l, tile_l)); in pthreadpool_thread_parallelize_4d_tile_1d_fastpath() 748 const size_t tile_l = threadpool->params.parallelize_4d_tile_2d.tile_l; in pthreadpool_thread_parallelize_4d_tile_2d_fastpath() local 752 size_t start_l = tile_index_k_l.remainder * tile_l; in pthreadpool_thread_parallelize_4d_tile_2d_fastpath() 757 …(argument, i, j, start_k, start_l, min(range_k - start_k, tile_k), min(range_l - start_l, tile_l)); in pthreadpool_thread_parallelize_4d_tile_2d_fastpath() 758 start_l += tile_l; in pthreadpool_thread_parallelize_4d_tile_2d_fastpath() [all …]
|
D | threadpool-object.h | 305 size_t tile_l; member 336 size_t tile_l; member 375 size_t tile_l; member 452 size_t tile_l; member
|
/external/pthreadpool/include/ |
D | pthreadpool.h | 643 size_t tile_l, 693 size_t tile_l, 759 size_t tile_l, 908 size_t tile_l, 1154 size_t tile_l) PTHREADPOOL_DEPRECATED;
|
/external/pthreadpool/test/ |
D | pthreadpool.cc | 4078 static void CheckBounds4DTile1D(void*, size_t i, size_t j, size_t k, size_t start_l, size_t tile_l)… in CheckBounds4DTile1D() argument 4083 EXPECT_LE(start_l + tile_l, kParallelize4DTile1DRangeL); in CheckBounds4DTile1D() 4116 static void CheckTiling4DTile1D(void*, size_t i, size_t j, size_t k, size_t start_l, size_t tile_l)… in CheckTiling4DTile1D() argument 4117 EXPECT_GT(tile_l, 0); in CheckTiling4DTile1D() 4118 EXPECT_LE(tile_l, kParallelize4DTile1DTileL); in CheckTiling4DTile1D() 4120 …EXPECT_EQ(tile_l, std::min<size_t>(kParallelize4DTile1DTileL, kParallelize4DTile1DRangeL - start_l… in CheckTiling4DTile1D() 4153 …::atomic_bool* processed_indicators, size_t i, size_t j, size_t k, size_t start_l, size_t tile_l) { in SetTrue4DTile1D() argument 4154 for (size_t l = start_l; l < start_l + tile_l; l++) { in SetTrue4DTile1D() 4218 …std::atomic_int* processed_counters, size_t i, size_t j, size_t k, size_t start_l, size_t tile_l) { in Increment4DTile1D() argument 4219 for (size_t l = start_l; l < start_l + tile_l; l++) { in Increment4DTile1D() [all …]
|
/external/XNNPACK/src/xnnpack/ |
D | compute.h | 101 size_t tile_l); 110 size_t tile_l, 146 size_t tile_l); 155 size_t tile_l,
|
/external/XNNPACK/src/ |
D | operator-run.c | 74 size_t tile_l) in xnn_compute_transposec_4d() argument 90 tile_l); in xnn_compute_transposec_4d() 100 size_t tile_l, in xnn_compute_transposec_5d() argument 116 tile_l, in xnn_compute_transposec_5d() 211 size_t tile_l) in xnn_compute_transposev_4d() argument 230 tile_l); in xnn_compute_transposev_4d() 240 size_t tile_l, in xnn_compute_transposev_5d() argument 259 tile_l, in xnn_compute_transposev_5d()
|