Home
last modified time | relevance | path

Searched refs:tile_i (Results 1 – 7 of 7) sorted by relevance

/external/pthreadpool/src/
Dlegacy-api.c55 size_t tile_i, in pthreadpool_compute_2d_tiled() argument
60 range_i, range_j, tile_i, tile_j, 0 /* flags */); in pthreadpool_compute_2d_tiled()
71 size_t tile_i; member
81 const size_t max_tile_i = context->tile_i; in compute_3d_tiled()
87 const size_t tile_i = min(max_tile_i, context->range_i - index_i); in compute_3d_tiled() local
90 context->function(context->argument, index_i, index_j, index_k, tile_i, tile_j, tile_k); in compute_3d_tiled()
100 size_t tile_i, in pthreadpool_compute_3d_tiled() argument
106 for (size_t i = 0; i < range_i; i += tile_i) { 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()
115 const size_t tile_range_i = divide_round_up(range_i, tile_i); in pthreadpool_compute_3d_tiled()
[all …]
Dshim.c105 size_t tile_i, in pthreadpool_parallelize_2d_tile_2d() argument
109 for (size_t i = 0; i < range_i; i += tile_i) { in pthreadpool_parallelize_2d_tile_2d()
111 task(argument, i, j, min(range_i - i, tile_i), min(range_j - j, tile_j)); in pthreadpool_parallelize_2d_tile_2d()
124 size_t tile_i, in pthreadpool_parallelize_2d_tile_2d_with_uarch() argument
128 for (size_t i = 0; i < range_i; i += tile_i) { in pthreadpool_parallelize_2d_tile_2d_with_uarch()
131 min(range_i - i, tile_i), min(range_j - j, tile_j)); in pthreadpool_parallelize_2d_tile_2d_with_uarch()
Dportable-api.c237 const size_t tile_i = threadpool->params.parallelize_2d_tile_2d.tile_i; in thread_parallelize_2d_tile_2d() local
239 size_t start_i = tile_index_i_j.quotient * tile_i; in thread_parallelize_2d_tile_2d()
245 task(argument, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_j, tile_j)); in thread_parallelize_2d_tile_2d()
249 start_i += tile_i; in thread_parallelize_2d_tile_2d()
264 const size_t start_i = tile_index_i_j.quotient * tile_i; in thread_parallelize_2d_tile_2d()
266 task(argument, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_j, tile_j)); in thread_parallelize_2d_tile_2d()
295 const size_t tile_i = threadpool->params.parallelize_2d_tile_2d_with_uarch.tile_i; in thread_parallelize_2d_tile_2d_with_uarch() local
298 size_t start_i = index.quotient * tile_i; in thread_parallelize_2d_tile_2d_with_uarch()
302 …task(argument, uarch_index, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_… in thread_parallelize_2d_tile_2d_with_uarch()
306 start_i += tile_i; in thread_parallelize_2d_tile_2d_with_uarch()
[all …]
Dfastpath.c261 const size_t tile_i = threadpool->params.parallelize_2d_tile_2d.tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath() local
263 size_t start_i = tile_index_i_j.quotient * tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
269 task(argument, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_j, tile_j)); in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
273 start_i += tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
287 const size_t start_i = tile_index_i_j.quotient * tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
289 task(argument, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_j, tile_j)); in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
324 const size_t tile_i = threadpool->params.parallelize_2d_tile_2d_with_uarch.tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath() local
327 size_t start_i = index.quotient * tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath()
331 …task(argument, uarch_index, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_… in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath()
335 start_i += tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath()
[all …]
Dthreadpool-object.h136 size_t tile_i; member
167 size_t tile_i; member
/external/pthreadpool/include/
Dpthreadpool.h306 size_t tile_i,
366 size_t tile_i,
1129 size_t tile_i,
1139 size_t tile_i,
1151 size_t tile_i,
/external/pthreadpool/test/
Dpthreadpool.cc717 static void CheckBounds1DTile1D(void*, size_t start_i, size_t tile_i) { in CheckBounds1DTile1D() argument
719 EXPECT_LE(start_i + tile_i, kParallelize1DTile1DRange); in CheckBounds1DTile1D()
750 static void CheckTiling1DTile1D(void*, size_t start_i, size_t tile_i) { in CheckTiling1DTile1D() argument
751 EXPECT_GT(tile_i, 0); in CheckTiling1DTile1D()
752 EXPECT_LE(tile_i, kParallelize1DTile1DTile); in CheckTiling1DTile1D()
754 EXPECT_EQ(tile_i, std::min<size_t>(kParallelize1DTile1DTile, kParallelize1DTile1DRange - start_i)); in CheckTiling1DTile1D()
785 static void SetTrue1DTile1D(std::atomic_bool* processed_indicators, size_t start_i, size_t tile_i) { in SetTrue1DTile1D() argument
786 for (size_t i = start_i; i < start_i + tile_i; i++) { in SetTrue1DTile1D()
833 static void Increment1DTile1D(std::atomic_int* processed_counters, size_t start_i, size_t tile_i) { in Increment1DTile1D() argument
834 for (size_t i = start_i; i < start_i + tile_i; i++) { in Increment1DTile1D()
[all …]