Home
last modified time | relevance | path

Searched defs:threadpool (Results 1 – 25 of 165) sorted by relevance

1234567

/aosp_15_r20/external/pthreadpool/test/
H A Dpthreadpool.cc102 pthreadpool* threadpool = nullptr; in TEST() local
107 pthreadpool* threadpool = pthreadpool_create(1); in TEST() local
113 pthreadpool* threadpool = pthreadpool_create(0); in TEST() local
122 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
133 auto_pthreadpool_t threadpool(pthreadpool_create(0), pthreadpool_destroy); in TEST() local
153 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
165 auto_pthreadpool_t threadpool(pthreadpool_create(0), pthreadpool_destroy); in TEST() local
187 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
206 auto_pthreadpool_t threadpool(pthreadpool_create(0), pthreadpool_destroy); in TEST() local
233 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
[all …]
/aosp_15_r20/external/XNNPACK/src/operators/
H A Dunary-elementwise-nc.c1258 pthreadpool_t threadpool) in xnn_setup_abs_nc_f16()
1274 pthreadpool_t threadpool) in xnn_setup_abs_nc_f32()
1290 pthreadpool_t threadpool) in xnn_setup_bankers_rounding_nc_f16()
1306 pthreadpool_t threadpool) in xnn_setup_bankers_rounding_nc_f32()
1322 pthreadpool_t threadpool) in xnn_setup_ceiling_nc_f16()
1338 pthreadpool_t threadpool) in xnn_setup_ceiling_nc_f32()
1354 pthreadpool_t threadpool) in xnn_setup_clamp_nc_f16()
1370 pthreadpool_t threadpool) in xnn_setup_clamp_nc_f32()
1386 pthreadpool_t threadpool) in xnn_setup_clamp_nc_s8()
1402 pthreadpool_t threadpool) in xnn_setup_clamp_nc_u8()
[all …]
H A Dbinary-elementwise-nd.c1113 pthreadpool_t threadpool) in xnn_setup_add_nd_f16()
1133 pthreadpool_t threadpool) in xnn_setup_add_nd_f32()
1153 pthreadpool_t threadpool) in xnn_setup_add_nd_qs8()
1176 pthreadpool_t threadpool) in xnn_setup_add_nd_qu8()
1199 pthreadpool_t threadpool) in xnn_setup_divide_nd_f16()
1219 pthreadpool_t threadpool) in xnn_setup_divide_nd_f32()
1239 pthreadpool_t threadpool) in xnn_setup_maximum_nd_f16()
1259 pthreadpool_t threadpool) in xnn_setup_maximum_nd_f32()
1279 pthreadpool_t threadpool) in xnn_setup_minimum_nd_f16()
1299 pthreadpool_t threadpool) in xnn_setup_minimum_nd_f32()
[all …]
H A Dtranspose-nd.c358 pthreadpool_t threadpool) in xnn_setup_transpose_nd_x32()
381 pthreadpool_t threadpool) in xnn_setup_transpose_nd_x16()
404 pthreadpool_t threadpool) in xnn_setup_transpose_nd_x8()
430 pthreadpool_t threadpool) { in run_transpose_nd()
474 pthreadpool_t threadpool) { in xnn_run_transpose_nd_x32()
496 pthreadpool_t threadpool) { in xnn_run_transpose_nd_x16()
518 pthreadpool_t threadpool) { in xnn_run_transpose_nd_x8()
619 pthreadpool_t threadpool) in xnn_setup_depth_to_space_nchw2nhwc_x32()
889 pthreadpool_t threadpool) in xnn_setup_depth_to_space_nhwc_x8()
905 pthreadpool_t threadpool) in xnn_setup_depth_to_space_nhwc_x16()
[all …]
H A Dglobal-average-pooling-nwc.c131 pthreadpool_t threadpool) in setup_global_average_pooling_nwc()
436 pthreadpool_t threadpool) in xnn_setup_global_average_pooling_nwc_qu8()
467 pthreadpool_t threadpool) in xnn_setup_global_average_pooling_nwc_qs8()
498 pthreadpool_t threadpool) in xnn_setup_global_average_pooling_nwc_f16()
527 pthreadpool_t threadpool) in xnn_setup_global_average_pooling_nwc_f32()
H A Dlut-elementwise-nc.c399 pthreadpool_t threadpool) in xnn_setup_elu_nc_qs8()
411 pthreadpool_t threadpool) in xnn_setup_sigmoid_nc_qs8()
423 pthreadpool_t threadpool) in xnn_setup_sigmoid_nc_qu8()
435 pthreadpool_t threadpool) in xnn_setup_tanh_nc_qs8()
447 pthreadpool_t threadpool) in xnn_setup_tanh_nc_qu8()
H A Dresize-bilinear-nhwc.c330 pthreadpool_t threadpool) in xnn_setup_resize_bilinear2d_nhwc_f16()
358 pthreadpool_t threadpool) in xnn_setup_resize_bilinear2d_nhwc_f32()
386 pthreadpool_t threadpool) in xnn_setup_resize_bilinear2d_nhwc_s8()
414 pthreadpool_t threadpool) in xnn_setup_resize_bilinear2d_nhwc_u8()
H A Ddepth-to-space-nhwc.c233 pthreadpool_t threadpool) in xnn_setup_depth_to_space_nhwc_x8()
250 pthreadpool_t threadpool) in xnn_setup_depth_to_space_nhwc_x16()
267 pthreadpool_t threadpool) in xnn_setup_depth_to_space_nhwc_x32()
H A Dfully-connected-nc.c594 pthreadpool_t threadpool) in xnn_setup_fully_connected_nc_f16()
615 pthreadpool_t threadpool) in xnn_setup_fully_connected_nc_f32()
636 pthreadpool_t threadpool) in xnn_setup_fully_connected_nc_qs8()
657 pthreadpool_t threadpool) in xnn_setup_fully_connected_nc_qu8()
H A Dconstant-pad-nd.c216 pthreadpool_t threadpool) in xnn_setup_constant_pad_nd_x8()
233 pthreadpool_t threadpool) in xnn_setup_constant_pad_nd_x16()
250 pthreadpool_t threadpool) in xnn_setup_constant_pad_nd_x32()
H A Dsoftmax-nc.c145 pthreadpool_t threadpool) in xnn_setup_softmax_nc_qu8()
371 pthreadpool_t threadpool) in xnn_setup_softmax_nc_f16()
403 pthreadpool_t threadpool) in xnn_setup_softmax_nc_f32()
/aosp_15_r20/external/pthreadpool/src/
H A Dshim.c25 size_t pthreadpool_get_threads_count(struct pthreadpool* threadpool) { in pthreadpool_get_threads_count()
30 struct pthreadpool* threadpool, in pthreadpool_parallelize_1d()
42 pthreadpool_t threadpool, in pthreadpool_parallelize_1d_with_uarch()
56 pthreadpool_t threadpool, in pthreadpool_parallelize_1d_tile_1d()
69 struct pthreadpool* threadpool, in pthreadpool_parallelize_2d()
84 pthreadpool_t threadpool, in pthreadpool_parallelize_2d_tile_1d()
100 pthreadpool_t threadpool, in pthreadpool_parallelize_2d_tile_2d()
117 pthreadpool_t threadpool, in pthreadpool_parallelize_2d_tile_2d_with_uarch()
137 pthreadpool_t threadpool, in pthreadpool_parallelize_3d()
155 pthreadpool_t threadpool, in pthreadpool_parallelize_3d_tile_1d()
[all …]
H A Dportable-api.c24 size_t pthreadpool_get_threads_count(struct pthreadpool* threadpool) { in pthreadpool_get_threads_count()
32 static void thread_parallelize_1d(struct pthreadpool* threadpool, struct thread_info* thread) { in thread_parallelize_1d()
63 static void thread_parallelize_1d_with_uarch(struct pthreadpool* threadpool, struct thread_info* th… in thread_parallelize_1d_with_uarch()
103 static void thread_parallelize_1d_tile_1d(struct pthreadpool* threadpool, struct thread_info* threa… in thread_parallelize_1d_tile_1d()
140 static void thread_parallelize_2d(struct pthreadpool* threadpool, struct thread_info* thread) { in thread_parallelize_2d()
181 static void thread_parallelize_2d_tile_1d(struct pthreadpool* threadpool, struct thread_info* threa… in thread_parallelize_2d_tile_1d()
226 static void thread_parallelize_2d_tile_2d(struct pthreadpool* threadpool, struct thread_info* threa… in thread_parallelize_2d_tile_2d()
274 static void thread_parallelize_2d_tile_2d_with_uarch(struct pthreadpool* threadpool, struct thread_… in thread_parallelize_2d_tile_2d_with_uarch()
331 static void thread_parallelize_3d(struct pthreadpool* threadpool, struct thread_info* thread) { in thread_parallelize_3d()
379 static void thread_parallelize_3d_tile_1d(struct pthreadpool* threadpool, struct thread_info* threa… in thread_parallelize_3d_tile_1d()
[all …]
H A Dpthreads.c80 static void checkin_worker_thread(struct pthreadpool* threadpool) { in checkin_worker_thread()
95 static void wait_worker_threads(struct pthreadpool* threadpool) { in wait_worker_threads()
141 struct pthreadpool* threadpool, in wait_for_new_command()
184 struct pthreadpool* threadpool = thread->threadpool; in thread_main() local
258 struct pthreadpool* threadpool = pthreadpool_allocate(threads_count); in pthreadpool_create() local
295 struct pthreadpool* threadpool, in pthreadpool_parallelize()
404 void pthreadpool_destroy(struct pthreadpool* threadpool) { in pthreadpool_destroy()
H A Dfastpath.c26 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_1d_fastpath()
62 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_1d_with_uarch_fastpath()
107 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_1d_tile_1d_fastpath()
149 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_fastpath()
195 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_tile_1d_fastpath()
245 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
298 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath()
360 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_3d_fastpath()
413 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_3d_tile_1d_fastpath()
470 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_3d_tile_2d_fastpath()
[all …]
H A Dwindows.c23 static void checkin_worker_thread(struct pthreadpool* threadpool, uint32_t event_index) { in checkin_worker_thread()
29 static void wait_worker_threads(struct pthreadpool* threadpool, uint32_t event_index) { in wait_worker_threads()
53 struct pthreadpool* threadpool, in wait_for_new_command()
86 struct pthreadpool* threadpool = thread->threadpool; in thread_main() local
142 struct pthreadpool* threadpool = pthreadpool_allocate(threads_count); in pthreadpool_create() local
191 struct pthreadpool* threadpool, in pthreadpool_parallelize()
312 void pthreadpool_destroy(struct pthreadpool* threadpool) { in pthreadpool_destroy()
H A Dgcd.c25 struct pthreadpool* threadpool = (struct pthreadpool*) arg; in thread_main() local
60 struct pthreadpool* threadpool = pthreadpool_allocate(threads_count); in pthreadpool_create() local
77 struct pthreadpool* threadpool, in pthreadpool_parallelize()
128 void pthreadpool_destroy(struct pthreadpool* threadpool) { in pthreadpool_destroy()
H A Dlegacy-api.c15 pthreadpool_t threadpool, in pthreadpool_compute_1d()
26 pthreadpool_t threadpool, in pthreadpool_compute_1d_tiled()
38 pthreadpool_t threadpool, in pthreadpool_compute_2d()
50 pthreadpool_t threadpool, in pthreadpool_compute_2d_tiled()
94 pthreadpool_t threadpool, in pthreadpool_compute_3d_tiled()
176 pthreadpool_t threadpool, in pthreadpool_compute_4d_tiled()
/aosp_15_r20/external/pthreadpool/bench/
H A Dthroughput.cc10 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_1d() local
33 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_1d_tile_1d() local
56 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_2d() local
79 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_2d_tile_1d() local
103 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_2d_tile_2d() local
127 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_3d() local
150 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_3d_tile_1d() local
174 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_3d_tile_2d() local
198 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_4d() local
221 pthreadpool_t threadpool = pthreadpool_create(2); in pthreadpool_parallelize_4d_tile_1d() local
[all …]
H A Dlatency.cc20 pthreadpool_t threadpool = pthreadpool_create(threads); in pthreadpool_parallelize_1d() local
39 pthreadpool_t threadpool = pthreadpool_create(threads); in pthreadpool_parallelize_1d_tile_1d() local
58 pthreadpool_t threadpool = pthreadpool_create(threads); in pthreadpool_parallelize_2d() local
77 pthreadpool_t threadpool = pthreadpool_create(threads); in pthreadpool_parallelize_2d_tile_2d() local
/aosp_15_r20/external/mesa3d/src/gallium/frontends/nine/
H A Dthreadpool.h15 struct threadpool { struct
21 struct threadpool_task *workqueue; argument
35 struct threadpool *_mesa_threadpool_create(struct NineSwapChain9 *swapchain); argument
/aosp_15_r20/external/XNNPACK/bench/
H A Dend2end.cc30 std::unique_ptr<pthreadpool, decltype(&pthreadpool_destroy)> threadpool( in End2EndBenchmark() local
72 End2EndBenchmark(state, [](pthreadpool_t threadpool) { in FP32Sparse80MobileNetV1()
78 End2EndBenchmark(state, [](pthreadpool_t threadpool) { in FP32Sparse80MobileNetV2()
84 End2EndBenchmark(state, [](pthreadpool_t threadpool) { in FP32Sparse80MobileNetV3Large()
90 End2EndBenchmark(state, [](pthreadpool_t threadpool) { in FP32Sparse80MobileNetV3Small()
/aosp_15_r20/external/pytorch/caffe2/utils/threadpool/
H A Dpthreadpool_impl.cc25 legacy_pthreadpool_t threadpool, in legacy_pthreadpool_compute_1d()
59 const legacy_pthreadpool_t threadpool, in legacy_pthreadpool_parallelize_1d()
67 size_t legacy_pthreadpool_get_threads_count(legacy_pthreadpool_t threadpool) { in legacy_pthreadpool_get_threads_count()
84 caffe2::ThreadPool* threadpool = in legacy_pthreadpool_destroy() local
H A Dpthreadpool.cc51 legacy_pthreadpool_t threadpool, in legacy_pthreadpool_compute_1d_tiled()
90 legacy_pthreadpool_t threadpool, in legacy_pthreadpool_compute_2d()
140 legacy_pthreadpool_t threadpool, in legacy_pthreadpool_compute_2d_tiled()
210 legacy_pthreadpool_t threadpool, in legacy_pthreadpool_compute_3d_tiled()
315 legacy_pthreadpool_t threadpool, in legacy_pthreadpool_compute_4d_tiled()
/aosp_15_r20/external/executorch/extension/threadpool/
H A Dthreadpool.cpp20 namespace executorch::extension::threadpool { namespace
111 static auto threadpool = std::make_unique<ThreadPool>(num_threads); in get_threadpool() local
136 ThreadPool* const threadpool = get_threadpool(); in get_pthreadpool() local

1234567