Home
last modified time | relevance | path

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

/external/pthreadpool/src/
Dthreadpool-legacy.c65 size_t tile_j) in pthreadpool_compute_2d_tiled() argument
69 range_i, range_j, tile_i, tile_j, 0 /* flags */); in pthreadpool_compute_2d_tiled()
81 size_t tile_j; member
91 const size_t max_tile_j = context->tile_j; in compute_3d_tiled()
97 const size_t tile_j = min(max_tile_j, context->range_j - index_j); 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()
110 size_t tile_j, in pthreadpool_compute_3d_tiled() argument
116 for (size_t j = 0; j < range_j; j += tile_j) { in pthreadpool_compute_3d_tiled()
118 …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()
125 const size_t tile_range_j = divide_round_up(range_j, tile_j); in pthreadpool_compute_3d_tiled()
[all …]
Dthreadpool-shim.c65 size_t tile_j, in pthreadpool_parallelize_2d_tile_1d() argument
69 for (size_t j = 0; j < range_j; j += tile_j) { in pthreadpool_parallelize_2d_tile_1d()
70 task(argument, i, j, min(range_j - j, tile_j)); in pthreadpool_parallelize_2d_tile_1d()
82 size_t tile_j, in pthreadpool_parallelize_2d_tile_2d() argument
86 for (size_t j = 0; j < range_j; j += tile_j) { in pthreadpool_parallelize_2d_tile_2d()
87 task(argument, i, j, min(range_i - i, tile_i), min(range_j - j, tile_j)); in pthreadpool_parallelize_2d_tile_2d()
99 size_t tile_j, in pthreadpool_parallelize_3d_tile_2d() argument
104 for (size_t j = 0; j < range_j; j += tile_j) { 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()
Dthreadpool-pthreads.c698 size_t tile_j; member
704 const size_t max_tile_j = context->tile_j; in compute_2d_tile_1d()
707 const size_t tile_j = min(max_tile_j, context->range_j - index_j); in compute_2d_tile_1d() local
708 context->task(context->argument, index_i, index_j, tile_j); in compute_2d_tile_1d()
717 size_t tile_j, in pthreadpool_parallelize_2d_tile_1d() argument
728 for (size_t j = 0; j < range_j; j += tile_j) { in pthreadpool_parallelize_2d_tile_1d()
729 task(argument, i, j, min(range_j - j, tile_j)); in pthreadpool_parallelize_2d_tile_1d()
737 const size_t tile_range_j = divide_round_up(range_j, tile_j); in pthreadpool_parallelize_2d_tile_1d()
744 .tile_j = tile_j in pthreadpool_parallelize_2d_tile_1d()
757 size_t tile_j; member
[all …]
/external/pthreadpool/include/
Dpthreadpool.h91 size_t tile_j,
101 size_t tile_j,
111 size_t tile_j,
208 size_t tile_j) PTHREADPOOL_DEPRECATED;
218 size_t tile_j,
230 size_t tile_j,
/external/pthreadpool/test/
Dpthreadpool.cc863 static void CheckBounds2DTile1D(void*, size_t i, size_t start_j, size_t tile_j) { in CheckBounds2DTile1D() argument
866 EXPECT_LE(start_j + tile_j, kParallelize2DTile1DRangeJ); in CheckBounds2DTile1D()
897 static void CheckTiling2DTile1D(void*, size_t i, size_t start_j, size_t tile_j) { in CheckTiling2DTile1D() argument
898 EXPECT_GT(tile_j, 0); in CheckTiling2DTile1D()
899 EXPECT_LE(tile_j, kParallelize2DTile1DTileJ); in CheckTiling2DTile1D()
901 …EXPECT_EQ(tile_j, std::min<size_t>(kParallelize2DTile1DTileJ, kParallelize2DTile1DRangeJ - start_j… in CheckTiling2DTile1D()
932 … SetTrue2DTile1D(std::atomic_bool* processed_indicators, size_t i, size_t start_j, size_t tile_j) { in SetTrue2DTile1D() argument
933 for (size_t j = start_j; j < start_j + tile_j; j++) { in SetTrue2DTile1D()
987 …d Increment2DTile1D(std::atomic_int* processed_counters, size_t i, size_t start_j, size_t tile_j) { in Increment2DTile1D() argument
988 for (size_t j = start_j; j < start_j + tile_j; j++) { in Increment2DTile1D()
[all …]