/external/pthreadpool/src/ |
D | shim.c | 423 size_t tile_n, in pthreadpool_parallelize_6d_tile_1d() argument 431 for (size_t n = 0; n < range_n; n += tile_n) { in pthreadpool_parallelize_6d_tile_1d() 432 task(argument, i, j, k, l, m, n, min(range_n - n, tile_n)); in pthreadpool_parallelize_6d_tile_1d() 452 size_t tile_n, in pthreadpool_parallelize_6d_tile_2d() argument 460 for (size_t n = 0; n < range_n; n += tile_n) { in pthreadpool_parallelize_6d_tile_2d() 462 min(range_m - m, tile_m), min(range_n - n, tile_n)); in pthreadpool_parallelize_6d_tile_2d()
|
D | portable-api.c | 1095 const size_t tile_n = threadpool->params.parallelize_6d_tile_1d.tile_n; in thread_parallelize_6d_tile_1d() local 1101 size_t start_n = tile_index_lm_n.remainder * tile_n; in thread_parallelize_6d_tile_1d() 1106 task(argument, i, j, k, l, m, start_n, min(range_n - start_n, tile_n)); in thread_parallelize_6d_tile_1d() 1107 start_n += tile_n; in thread_parallelize_6d_tile_1d() 1142 const size_t start_n = tile_index_lm_n.remainder * tile_n; in thread_parallelize_6d_tile_1d() 1144 start_n, min(range_n - start_n, tile_n)); in thread_parallelize_6d_tile_1d() 1172 const size_t tile_n = threadpool->params.parallelize_6d_tile_2d.tile_n; in thread_parallelize_6d_tile_2d() local 1178 size_t start_n = tile_index_m_n.remainder * tile_n; in thread_parallelize_6d_tile_2d() 1184 …ent, i, j, k, l, start_m, start_n, min(range_m - start_m, tile_m), min(range_n - start_n, tile_n)); in thread_parallelize_6d_tile_2d() 1185 start_n += tile_n; in thread_parallelize_6d_tile_2d() [all …]
|
D | fastpath.c | 1189 const size_t tile_n = threadpool->params.parallelize_6d_tile_1d.tile_n; in pthreadpool_thread_parallelize_6d_tile_1d_fastpath() local 1195 size_t start_n = tile_index_lm_n.remainder * tile_n; in pthreadpool_thread_parallelize_6d_tile_1d_fastpath() 1200 task(argument, i, j, k, l, m, start_n, min(range_n - start_n, tile_n)); in pthreadpool_thread_parallelize_6d_tile_1d_fastpath() 1201 start_n += tile_n; in pthreadpool_thread_parallelize_6d_tile_1d_fastpath() 1235 const size_t start_n = tile_index_lm_n.remainder * tile_n; in pthreadpool_thread_parallelize_6d_tile_1d_fastpath() 1237 start_n, min(range_n - start_n, tile_n)); in pthreadpool_thread_parallelize_6d_tile_1d_fastpath() 1271 const size_t tile_n = threadpool->params.parallelize_6d_tile_2d.tile_n; in pthreadpool_thread_parallelize_6d_tile_2d_fastpath() local 1277 size_t start_n = tile_index_m_n.remainder * tile_n; in pthreadpool_thread_parallelize_6d_tile_2d_fastpath() 1283 …ent, i, j, k, l, start_m, start_n, min(range_m - start_m, tile_m), min(range_n - start_n, tile_n)); in pthreadpool_thread_parallelize_6d_tile_2d_fastpath() 1284 start_n += tile_n; in pthreadpool_thread_parallelize_6d_tile_2d_fastpath() [all …]
|
D | threadpool-object.h | 518 size_t tile_n; member 561 size_t tile_n; member
|
/external/igt-gpu-tools/lib/ |
D | igt_draw.c | 146 int tile_n, x_tile_off, y_tile_off; in tile() local 153 tile_n = y_tile_n * tiles_per_line + x_tile_n; in tile() 163 pos = tile_n * tile_size + tile_off; in tile() 171 int tile_n, tile_off, tiles_per_line; in untile() local 179 tile_n = tiled_pos / tile_size; in untile() 190 x_tile_n = tile_n % tiles_per_line; in untile() 191 y_tile_n = tile_n / tiles_per_line; in untile()
|
/external/pthreadpool/include/ |
D | pthreadpool.h | 1015 size_t tile_n, 1073 size_t tile_n,
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_gmem.c | 286 int tile_n[npipes]; in gmem_stateobj_init() local 381 memset(tile_n, 0, sizeof(tile_n)); in gmem_stateobj_init() 405 tile->n = !is_a20x(screen) ? tile_n[p]++ : in gmem_stateobj_init()
|
/external/pthreadpool/test/ |
D | pthreadpool.cc | 6646 …s6DTile1D(void*, size_t i, size_t j, size_t k, size_t l, size_t m, size_t start_n, size_t tile_n) { in CheckBounds6DTile1D() argument 6653 EXPECT_LE(start_n + tile_n, kParallelize6DTile1DRangeN); in CheckBounds6DTile1D() 6686 …g6DTile1D(void*, size_t i, size_t j, size_t k, size_t l, size_t m, size_t start_n, size_t tile_n) { in CheckTiling6DTile1D() argument 6687 EXPECT_GT(tile_n, 0); in CheckTiling6DTile1D() 6688 EXPECT_LE(tile_n, kParallelize6DTile1DTileN); in CheckTiling6DTile1D() 6690 …EXPECT_EQ(tile_n, std::min<size_t>(kParallelize6DTile1DTileN, kParallelize6DTile1DRangeN - start_n… in CheckTiling6DTile1D() 6723 …ssed_indicators, size_t i, size_t j, size_t k, size_t l, size_t m, size_t start_n, size_t tile_n) { in SetTrue6DTile1D() argument 6724 for (size_t n = start_n; n < start_n + tile_n; n++) { in SetTrue6DTile1D() 6796 …cessed_counters, size_t i, size_t j, size_t k, size_t l, size_t m, size_t start_n, size_t tile_n) { in Increment6DTile1D() argument 6797 for (size_t n = start_n; n < start_n + tile_n; n++) { in Increment6DTile1D() [all …]
|