Home
last modified time | relevance | path

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

/external/pthreadpool/src/
Dshim.c73 size_t range_j, in pthreadpool_parallelize_2d() argument
77 for (size_t j = 0; j < range_j; j++) { in pthreadpool_parallelize_2d()
88 size_t range_j, in pthreadpool_parallelize_2d_tile_1d() argument
93 for (size_t j = 0; j < range_j; j += tile_j) { in pthreadpool_parallelize_2d_tile_1d()
94 task(argument, i, j, min(range_j - j, tile_j)); in pthreadpool_parallelize_2d_tile_1d()
104 size_t range_j, in pthreadpool_parallelize_2d_tile_2d() argument
110 for (size_t j = 0; j < range_j; j += tile_j) { 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()
123 size_t range_j, in pthreadpool_parallelize_2d_tile_2d_with_uarch() argument
129 for (size_t j = 0; j < range_j; j += tile_j) { in pthreadpool_parallelize_2d_tile_2d_with_uarch()
[all …]
Dportable-api.c149 const struct fxdiv_divisor_size_t range_j = threadpool->params.parallelize_2d.range_j; in thread_parallelize_2d() local
150 const struct fxdiv_result_size_t index_i_j = fxdiv_divide_size_t(range_start, range_j); in thread_parallelize_2d()
156 if (++j == range_j.value) { in thread_parallelize_2d()
172 const struct fxdiv_result_size_t index_i_j = fxdiv_divide_size_t(linear_index, range_j); in thread_parallelize_2d()
196 const size_t range_j = threadpool->params.parallelize_2d_tile_1d.range_j; in thread_parallelize_2d_tile_1d() local
198 task(argument, i, start_j, min(range_j - start_j, tile_j)); in thread_parallelize_2d_tile_1d()
200 if (start_j >= range_j) { in thread_parallelize_2d_tile_1d()
218 task(argument, tile_index_i_j.quotient, start_j, min(range_j - start_j, tile_j)); in thread_parallelize_2d_tile_1d()
243 const size_t range_j = threadpool->params.parallelize_2d_tile_2d.range_j; in thread_parallelize_2d_tile_2d() local
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()
[all …]
Dlegacy-api.c42 size_t range_j) in pthreadpool_compute_2d() argument
46 range_i, range_j, 0 /* flags */); in pthreadpool_compute_2d()
54 size_t range_j, in pthreadpool_compute_2d_tiled() argument
60 range_i, range_j, tile_i, tile_j, 0 /* flags */); in pthreadpool_compute_2d_tiled()
69 size_t range_j; member
88 const size_t tile_j = min(max_tile_j, context->range_j - index_j); in compute_3d_tiled()
98 size_t range_j, in pthreadpool_compute_3d_tiled() argument
107 for (size_t j = 0; j < range_j; j += tile_j) { 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()
116 const size_t tile_range_j = divide_round_up(range_j, tile_j); in pthreadpool_compute_3d_tiled()
[all …]
Dthreadpool-object.h110 struct fxdiv_divisor_size_t range_j; member
117 size_t range_j; member
140 size_t range_j; member
171 size_t range_j; member
186 struct fxdiv_divisor_size_t range_j; member
205 struct fxdiv_divisor_size_t range_j; member
216 size_t range_j; member
251 size_t range_j; member
282 struct fxdiv_divisor_size_t range_j; member
309 struct fxdiv_divisor_size_t range_j; member
[all …]
Dfastpath.c163 const struct fxdiv_divisor_size_t range_j = threadpool->params.parallelize_2d.range_j; in pthreadpool_thread_parallelize_2d_fastpath() local
164 const struct fxdiv_result_size_t index_i_j = fxdiv_divide_size_t(range_start, range_j); in pthreadpool_thread_parallelize_2d_fastpath()
170 if (++j == range_j.value) { in pthreadpool_thread_parallelize_2d_fastpath()
185 const struct fxdiv_result_size_t index_i_j = fxdiv_divide_size_t(linear_index, range_j); in pthreadpool_thread_parallelize_2d_fastpath()
215 const size_t range_j = threadpool->params.parallelize_2d_tile_1d.range_j; in pthreadpool_thread_parallelize_2d_tile_1d_fastpath() local
217 task(argument, i, start_j, min(range_j - start_j, tile_j)); in pthreadpool_thread_parallelize_2d_tile_1d_fastpath()
219 if (start_j >= range_j) { in pthreadpool_thread_parallelize_2d_tile_1d_fastpath()
236 task(argument, tile_index_i_j.quotient, start_j, min(range_j - start_j, tile_j)); in pthreadpool_thread_parallelize_2d_tile_1d_fastpath()
267 const size_t range_j = threadpool->params.parallelize_2d_tile_2d.range_j; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath() local
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()
[all …]
/external/pthreadpool/include/
Dpthreadpool.h227 size_t range_j,
264 size_t range_j,
305 size_t range_j,
365 size_t range_j,
404 size_t range_j,
445 size_t range_j,
490 size_t range_j,
552 size_t range_j,
595 size_t range_j,
640 size_t range_j,
[all …]
/external/llvm-project/mlir/test/Conversion/SCFToGPU/
Dstep_positive.mlir7 // CHECK: %[[range_j:.*]] = divi_signed {{.*}}, %{{.*}}
11 …// CHECK-SAME: threads(%{{[^)]*}}, %{{[^)]*}}, %{{[^)]*}}) in (%{{[^)]*}} = %[[range_j]], %{{[^)]*…