Home
last modified time | relevance | path

Searched refs:tile_k (Results 1 – 5 of 5) sorted by relevance

/external/pthreadpool/src/
Dthreadpool-legacy.c82 size_t tile_k; member
92 const size_t max_tile_k = context->tile_k; in compute_3d_tiled()
98 const size_t tile_k = min(max_tile_k, context->range_k - index_k); in compute_3d_tiled() local
99 context->function(context->argument, index_i, index_j, index_k, tile_i, tile_j, tile_k); in compute_3d_tiled()
111 size_t tile_k) in pthreadpool_compute_3d_tiled() argument
117 for (size_t k = 0; k < range_k; k += tile_k) { in pthreadpool_compute_3d_tiled()
118 …n(argument, i, j, k, min(range_i - i, tile_i), min(range_j - j, tile_j), min(range_k - k, tile_k)); in pthreadpool_compute_3d_tiled()
126 const size_t tile_range_k = divide_round_up(range_k, tile_k); in pthreadpool_compute_3d_tiled()
137 .tile_k = tile_k in pthreadpool_compute_3d_tiled()
158 size_t tile_k; member
[all …]
Dthreadpool-shim.c100 size_t tile_k, in pthreadpool_parallelize_3d_tile_2d() argument
105 for (size_t k = 0; k < range_k; k += tile_k) { in pthreadpool_parallelize_3d_tile_2d()
107 min(range_j - j, tile_j), min(range_k - k, tile_k)); in pthreadpool_parallelize_3d_tile_2d()
121 size_t tile_k, in pthreadpool_parallelize_4d_tile_2d() argument
127 for (size_t k = 0; k < range_k; k += tile_k) { in pthreadpool_parallelize_4d_tile_2d()
130 min(range_k - k, tile_k), min(range_l - l, tile_l)); in pthreadpool_parallelize_4d_tile_2d()
Dthreadpool-pthreads.c822 size_t tile_k; member
831 const size_t max_tile_k = context->tile_k; in compute_3d_tile_2d()
836 const size_t tile_k = min(max_tile_k, context->range_k - index_k); in compute_3d_tile_2d() local
837 context->task(context->argument, index_i, index_j, index_k, tile_j, tile_k); in compute_3d_tile_2d()
848 size_t tile_k, in pthreadpool_parallelize_3d_tile_2d() argument
860 for (size_t k = 0; k < range_k; k += tile_k) { in pthreadpool_parallelize_3d_tile_2d()
861 task(argument, i, j, k, min(range_j - j, tile_j), min(range_k - k, tile_k)); in pthreadpool_parallelize_3d_tile_2d()
871 const size_t tile_range_k = divide_round_up(range_k, tile_k); in pthreadpool_parallelize_3d_tile_2d()
880 .tile_k = tile_k in pthreadpool_parallelize_3d_tile_2d()
896 size_t tile_k; member
[all …]
/external/pthreadpool/include/
Dpthreadpool.h112 size_t tile_k,
123 size_t tile_k,
219 size_t tile_k) PTHREADPOOL_DEPRECATED;
231 size_t tile_k,
/external/pthreadpool/test/
Dpthreadpool.cc1480 …heckBounds3DTile2D(void*, size_t i, size_t start_j, size_t start_k, size_t tile_j, size_t tile_k) { in CheckBounds3DTile2D() argument
1485 EXPECT_LE(start_k + tile_k, kParallelize3DTile2DRangeK); in CheckBounds3DTile2D()
1518 …heckTiling3DTile2D(void*, size_t i, size_t start_j, size_t start_k, size_t tile_j, size_t tile_k) { in CheckTiling3DTile2D() argument
1524 EXPECT_GT(tile_k, 0); in CheckTiling3DTile2D()
1525 EXPECT_LE(tile_k, kParallelize3DTile2DTileK); in CheckTiling3DTile2D()
1527 …EXPECT_EQ(tile_k, std::min<size_t>(kParallelize3DTile2DTileK, kParallelize3DTile2DRangeK - start_k… in CheckTiling3DTile2D()
1560 …ol* processed_indicators, size_t i, size_t start_j, size_t start_k, size_t tile_j, size_t tile_k) { in SetTrue3DTile2D() argument
1562 for (size_t k = start_k; k < start_k + tile_k; k++) { in SetTrue3DTile2D()
1623 …_int* processed_counters, size_t i, size_t start_j, size_t start_k, size_t tile_j, size_t tile_k) { in Increment3DTile2D() argument
1625 for (size_t k = start_k; k < start_k + tile_k; k++) { in Increment3DTile2D()
[all …]