Home
last modified time | relevance | path

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

123

/external/mesa3d/src/gallium/frontends/nine/
Dthreadpool.h33 struct threadpool { struct
39 struct threadpool_task *workqueue; argument
53 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 …]
/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/pthreadpool/src/
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()
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 …]
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()
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_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 …]
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 …]
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/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/XNNPACK/src/operators/
Dunary-elementwise-nc.c473 pthreadpool_t threadpool) in xnn_setup_abs_nc_f32()
495 pthreadpool_t threadpool) in xnn_setup_bankers_rounding_nc_f32()
517 pthreadpool_t threadpool) in xnn_setup_ceiling_nc_f32()
539 pthreadpool_t threadpool) in xnn_setup_clamp_nc_u8()
561 pthreadpool_t threadpool) in xnn_setup_clamp_nc_f32()
583 pthreadpool_t threadpool) in xnn_setup_copy_nc_x32()
605 pthreadpool_t threadpool) in xnn_setup_elu_nc_f32()
627 pthreadpool_t threadpool) in xnn_setup_floor_nc_f32()
649 pthreadpool_t threadpool) in xnn_setup_hardswish_nc_f16()
671 pthreadpool_t threadpool) in xnn_setup_hardswish_nc_f32()
[all …]
Dbinary-elementwise-nd.c635 pthreadpool_t threadpool) in xnn_setup_add_nd_qs8()
659 pthreadpool_t threadpool) in xnn_setup_add_nd_f16()
679 pthreadpool_t threadpool) in xnn_setup_add_nd_f32()
699 pthreadpool_t threadpool) in xnn_setup_divide_nd_f32()
719 pthreadpool_t threadpool) in xnn_setup_maximum_nd_f32()
739 pthreadpool_t threadpool) in xnn_setup_minimum_nd_f32()
759 pthreadpool_t threadpool) in xnn_setup_multiply_nd_f16()
779 pthreadpool_t threadpool) in xnn_setup_multiply_nd_f32()
799 pthreadpool_t threadpool) in xnn_setup_squared_difference_nd_f32()
819 pthreadpool_t threadpool) in xnn_setup_subtract_nd_f32()
Dglobal-average-pooling-nwc.c130 pthreadpool_t threadpool) in setup_global_average_pooling_nwc()
431 pthreadpool_t threadpool) in xnn_setup_global_average_pooling_nwc_qu8()
462 pthreadpool_t threadpool) in xnn_setup_global_average_pooling_nwc_qs8()
493 pthreadpool_t threadpool) in xnn_setup_global_average_pooling_nwc_f16()
522 pthreadpool_t threadpool) in xnn_setup_global_average_pooling_nwc_f32()
Dsoftmax-nc.c142 pthreadpool_t threadpool) in xnn_setup_softmax_nc_qu8()
257 pthreadpool_t threadpool) in xnn_setup_softmax_nc_f32()
Dchannel-shuffle-nc.c204 pthreadpool_t threadpool) in xnn_setup_channel_shuffle_nc_x8()
227 pthreadpool_t threadpool) in xnn_setup_channel_shuffle_nc_x32()
Dglobal-average-pooling-ncw.c97 pthreadpool_t threadpool) in xnn_setup_global_average_pooling_ncw_f32()
Ddepth-to-space-nhwc.c102 pthreadpool_t threadpool) in xnn_setup_depth_to_space_nhwc_x32()
Ddepth-to-space-nchw2nhwc.c102 pthreadpool_t threadpool) in xnn_setup_depth_to_space_nchw2nhwc_x32()
Dprelu-nc.c103 pthreadpool_t threadpool) in xnn_setup_prelu_nc_f32()
Dresize-bilinear-nchw.c100 pthreadpool_t threadpool) in xnn_setup_resize_bilinear2d_nchw_f32()
/external/rust/crates/flate2/tests/
Dtokio.rs73 let threadpool = tokio_threadpool::Builder::new().build(); in tcp_stream_echo_pattern() localVariable
129 let threadpool = tokio_threadpool::Builder::new().build(); in echo_random() localVariable
/external/pthreadpool/examples/
Daddition.c24 pthreadpool_t threadpool = pthreadpool_create(0); in main() local

123