Home
last modified time | relevance | path

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

1234567

/external/mesa3d/src/gallium/frontends/nine/
Dthreadpool.h15 struct threadpool { struct
21 struct threadpool_task *workqueue; argument
35 struct threadpool *_mesa_threadpool_create(struct NineSwapChain9 *swapchain); argument
/external/pthreadpool/test/
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 …]
Dpthreadpool-cxx.cc95 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
105 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
119 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
139 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
156 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
166 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
179 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
196 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
217 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
236 auto_pthreadpool_t threadpool(pthreadpool_create(1), pthreadpool_destroy); in TEST() local
[all …]
/external/pthreadpool/src/
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 struct pthreadpool* threadpool, in pthreadpool_parallelize_1d_with_thread()
54 pthreadpool_t threadpool, in pthreadpool_parallelize_1d_with_uarch()
68 pthreadpool_t threadpool, in pthreadpool_parallelize_1d_tile_1d()
81 struct pthreadpool* threadpool, in pthreadpool_parallelize_2d()
96 struct pthreadpool* threadpool, in pthreadpool_parallelize_2d_with_thread()
111 pthreadpool_t threadpool, in pthreadpool_parallelize_2d_tile_1d()
127 pthreadpool_t threadpool, in pthreadpool_parallelize_2d_tile_1d_with_uarch()
145 pthreadpool_t threadpool, in pthreadpool_parallelize_2d_tile_1d_with_uarch_with_thread()
[all …]
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()
Dwindows.c26 static void checkin_worker_thread(struct pthreadpool* threadpool, uint32_t event_index) { in checkin_worker_thread()
32 static void wait_worker_threads(struct pthreadpool* threadpool, uint32_t event_index) { in wait_worker_threads()
56 struct pthreadpool* threadpool, in wait_for_new_command()
89 struct pthreadpool* threadpool = thread->threadpool; in thread_main() local
145 struct pthreadpool* threadpool = pthreadpool_allocate(threads_count); in pthreadpool_create() local
194 struct pthreadpool* threadpool, in pthreadpool_parallelize()
315 void pthreadpool_destroy(struct pthreadpool* threadpool) { in pthreadpool_destroy()
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()
Dmemory.c28 struct pthreadpool* threadpool = NULL; in pthreadpool_allocate() local
54 struct pthreadpool* threadpool) in pthreadpool_deallocate()
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_thread(struct pthreadpool* threadpool, struct thread_info* t… in thread_parallelize_1d_with_thread()
94 static void thread_parallelize_1d_with_uarch(struct pthreadpool* threadpool, struct thread_info* th… in thread_parallelize_1d_with_uarch()
134 static void thread_parallelize_1d_tile_1d(struct pthreadpool* threadpool, struct thread_info* threa… in thread_parallelize_1d_tile_1d()
171 static void thread_parallelize_2d(struct pthreadpool* threadpool, struct thread_info* thread) { in thread_parallelize_2d()
212 static void thread_parallelize_2d_with_thread(struct pthreadpool* threadpool, struct thread_info* t… in thread_parallelize_2d_with_thread()
253 static void thread_parallelize_2d_tile_1d(struct pthreadpool* threadpool, struct thread_info* threa… in thread_parallelize_2d_tile_1d()
298 static void thread_parallelize_2d_tile_1d_with_uarch(struct pthreadpool* threadpool, struct thread_… in thread_parallelize_2d_tile_1d_with_uarch()
352 static void thread_parallelize_2d_tile_1d_with_uarch_with_thread(struct pthreadpool* threadpool, st… in thread_parallelize_2d_tile_1d_with_uarch_with_thread()
[all …]
Dfastpath.c26 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_1d_fastpath()
62 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_1d_with_thread_fastpath()
98 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_1d_with_uarch_fastpath()
143 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_1d_tile_1d_fastpath()
185 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_fastpath()
231 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_with_thread_fastpath()
277 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_tile_1d_fastpath()
327 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_tile_1d_with_uarch_fastpath()
386 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_tile_1d_with_uarch_with_thread_fastpath()
446 struct pthreadpool* threadpool, in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
[all …]
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()
/external/pthreadpool/bench/
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 …]
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
/external/XNNPACK/src/operators/
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 …]
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 …]
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 …]
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()
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()
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()
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()
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()
/external/pytorch/caffe2/utils/threadpool/
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
Dpthreadpool-cpp.cc89 static auto threadpool = in pthreadpool() local
112 PThreadPool* const threadpool = pthreadpool(); in pthreadpool_() local
/external/XNNPACK/bench/
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()
/external/executorch/extension/threadpool/
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