Lines Matching refs:threads_count
29 return threadpool->threads_count.value; in pthreadpool_get_threads_count()
47 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_1d() local
48 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_1d()
50 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_1d()
87 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_1d_with_uarch() local
88 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_1d_with_uarch()
90 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_1d_with_uarch()
123 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_1d_tile_1d() local
124 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_1d_tile_1d()
126 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_1d_tile_1d()
164 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d() local
165 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d()
167 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d()
208 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d_tile_1d() local
209 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d_tile_1d()
211 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d_tile_1d()
255 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d_tile_2d() local
256 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d_tile_2d()
258 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d_tile_2d()
312 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d_tile_2d_with_uarch() local
313 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d_tile_2d_with_uarch()
315 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d_tile_2d_with_uarch()
361 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d() local
362 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d()
364 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d()
412 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d_tile_1d() local
413 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d_tile_1d()
415 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d_tile_1d()
467 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d_tile_2d() local
468 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d_tile_2d()
470 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d_tile_2d()
532 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d_tile_2d_with_uarch() local
533 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d_tile_2d_with_uarch()
535 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d_tile_2d_with_uarch()
589 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_4d() local
590 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_4d()
592 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_4d()
648 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_4d_tile_1d() local
649 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_4d_tile_1d()
651 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_4d_tile_1d()
710 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_4d_tile_2d() local
711 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_4d_tile_2d()
713 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_4d_tile_2d()
782 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_4d_tile_2d_with_uarch() local
783 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_4d_tile_2d_with_uarch()
785 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_4d_tile_2d_with_uarch()
846 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_5d() local
847 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_5d()
849 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_5d()
912 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_5d_tile_1d() local
913 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_5d_tile_1d()
915 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_5d_tile_1d()
982 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_5d_tile_2d() local
983 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_5d_tile_2d()
985 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_5d_tile_2d()
1055 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_6d() local
1056 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_6d()
1058 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_6d()
1129 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_6d_tile_1d() local
1130 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_6d_tile_1d()
1132 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_6d_tile_1d()
1207 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_6d_tile_2d() local
1208 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_6d_tile_2d()
1210 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_6d_tile_2d()
1238 size_t threads_count; in pthreadpool_parallelize_1d() local
1239 if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || range <= 1) { in pthreadpool_parallelize_1d()
1255 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_1d()
1275 size_t threads_count; in pthreadpool_parallelize_1d_with_uarch() local
1276 if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || range <= 1) { in pthreadpool_parallelize_1d_with_uarch()
1305 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_1d_with_uarch()
1324 size_t threads_count; in pthreadpool_parallelize_1d_tile_1d() local
1325 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || range <= tile)… in pthreadpool_parallelize_1d_tile_1d()
1346 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_1d_tile_1d()
1365 size_t threads_count; in pthreadpool_parallelize_2d() local
1366 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_2d()
1388 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d()
1408 size_t threads_count; in pthreadpool_parallelize_2d_tile_1d() local
1409 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= 1 … in pthreadpool_parallelize_2d_tile_1d()
1434 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d_tile_1d()
1455 size_t threads_count; in pthreadpool_parallelize_2d_tile_2d() local
1456 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= ti… in pthreadpool_parallelize_2d_tile_2d()
1484 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d_tile_2d()
1507 size_t threads_count; in pthreadpool_parallelize_2d_tile_2d_with_uarch() local
1508 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= ti… in pthreadpool_parallelize_2d_tile_2d_with_uarch()
1547 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d_tile_2d_with_uarch()
1567 size_t threads_count; in pthreadpool_parallelize_3d() local
1568 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_3d()
1593 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d()
1614 size_t threads_count; in pthreadpool_parallelize_3d_tile_1d() local
1615 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_3d_tile_1d()
1643 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d_tile_1d()
1665 size_t threads_count; in pthreadpool_parallelize_3d_tile_2d() local
1666 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= 1 … in pthreadpool_parallelize_3d_tile_2d()
1697 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d_tile_2d()
1721 size_t threads_count; in pthreadpool_parallelize_3d_tile_2d_with_uarch() local
1722 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= 1 … in pthreadpool_parallelize_3d_tile_2d_with_uarch()
1764 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d_tile_2d_with_uarch()
1785 size_t threads_count; in pthreadpool_parallelize_4d() local
1786 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_4d()
1816 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_4d()
1838 size_t threads_count; in pthreadpool_parallelize_4d_tile_1d() local
1839 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_4d_tile_1d()
1872 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_4d_tile_1d()
1895 size_t threads_count; in pthreadpool_parallelize_4d_tile_2d() local
1896 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_4d_tile_2d()
1931 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_4d_tile_2d()
1956 size_t threads_count; in pthreadpool_parallelize_4d_tile_2d_with_uarch() local
1957 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_4d_tile_2d_with_uarch()
2003 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_4d_tile_2d_with_uarch()
2025 size_t threads_count; in pthreadpool_parallelize_5d() local
2026 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_5d()
2059 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_5d()
2082 size_t threads_count; in pthreadpool_parallelize_5d_tile_1d() local
2083 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_5d_tile_1d()
2119 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_5d_tile_1d()
2143 size_t threads_count; in pthreadpool_parallelize_5d_tile_2d() local
2144 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_5d_tile_2d()
2182 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_5d_tile_2d()
2205 size_t threads_count; in pthreadpool_parallelize_6d() local
2206 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_6d()
2242 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_6d()
2266 size_t threads_count; in pthreadpool_parallelize_6d_tile_1d() local
2267 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_6d_tile_1d()
2306 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_6d_tile_1d()
2331 size_t threads_count; in pthreadpool_parallelize_6d_tile_2d() local
2332 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_6d_tile_2d()
2375 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_6d_tile_2d()