• Home
  • Raw
  • Download

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()
78 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_1d_with_thread() local
79 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_1d_with_thread()
81 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_1d_with_thread()
118 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_1d_with_uarch() local
119 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_1d_with_uarch()
121 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_1d_with_uarch()
154 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_1d_tile_1d() local
155 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_1d_tile_1d()
157 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_1d_tile_1d()
195 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d() local
196 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d()
198 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d()
236 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d_with_thread() local
237 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d_with_thread()
239 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d_with_thread()
280 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d_tile_1d() local
281 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d_tile_1d()
283 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d_tile_1d()
334 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d_tile_1d_with_uarch() local
335 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d_tile_1d_with_uarch()
337 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d_tile_1d_with_uarch()
389 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d_tile_1d_with_uarch_with_thread() local
390 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d_tile_1d_with_uarch_with_thread()
392 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d_tile_1d_with_uarch_with_thread()
436 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d_tile_2d() local
437 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d_tile_2d()
439 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d_tile_2d()
493 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_2d_tile_2d_with_uarch() local
494 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_2d_tile_2d_with_uarch()
496 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_2d_tile_2d_with_uarch()
542 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d() local
543 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d()
545 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d()
593 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d_tile_1d() local
594 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d_tile_1d()
596 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d_tile_1d()
645 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d_tile_1d_with_thread() local
646 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d_tile_1d_with_thread()
648 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d_tile_1d_with_thread()
706 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d_tile_1d_with_uarch() local
707 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d_tile_1d_with_uarch()
709 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d_tile_1d_with_uarch()
768 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d_tile_1d_with_uarch_with_thread() local
769 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d_tile_1d_with_uarch_with_thread()
771 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d_tile_1d_with_uarch_with_thread()
823 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d_tile_2d() local
824 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d_tile_2d()
826 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d_tile_2d()
888 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_3d_tile_2d_with_uarch() local
889 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_3d_tile_2d_with_uarch()
891 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_3d_tile_2d_with_uarch()
945 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_4d() local
946 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_4d()
948 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_4d()
1004 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_4d_tile_1d() local
1005 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_4d_tile_1d()
1007 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_4d_tile_1d()
1066 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_4d_tile_2d() local
1067 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_4d_tile_2d()
1069 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_4d_tile_2d()
1138 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_4d_tile_2d_with_uarch() local
1139 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_4d_tile_2d_with_uarch()
1141 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_4d_tile_2d_with_uarch()
1202 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_5d() local
1203 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_5d()
1205 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_5d()
1268 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_5d_tile_1d() local
1269 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_5d_tile_1d()
1271 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_5d_tile_1d()
1338 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_5d_tile_2d() local
1339 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_5d_tile_2d()
1341 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_5d_tile_2d()
1411 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_6d() local
1412 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_6d()
1414 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_6d()
1485 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_6d_tile_1d() local
1486 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_6d_tile_1d()
1488 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_6d_tile_1d()
1563 const size_t threads_count = threadpool->threads_count.value; in thread_parallelize_6d_tile_2d() local
1564 for (size_t tid = modulo_decrement(thread_number, threads_count); in thread_parallelize_6d_tile_2d()
1566 tid = modulo_decrement(tid, threads_count)) in thread_parallelize_6d_tile_2d()
1594 size_t threads_count; in pthreadpool_parallelize_1d() local
1595 if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || range <= 1) { in pthreadpool_parallelize_1d()
1611 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_1d()
1629 size_t threads_count; in pthreadpool_parallelize_1d_with_thread() local
1630 if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || range <= 1) { in pthreadpool_parallelize_1d_with_thread()
1646 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_1d_with_thread()
1666 size_t threads_count; in pthreadpool_parallelize_1d_with_uarch() local
1667 if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || range <= 1) { in pthreadpool_parallelize_1d_with_uarch()
1696 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_1d_with_uarch()
1715 size_t threads_count; in pthreadpool_parallelize_1d_tile_1d() local
1716 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || range <= tile)… in pthreadpool_parallelize_1d_tile_1d()
1737 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_1d_tile_1d()
1756 size_t threads_count; in pthreadpool_parallelize_2d() local
1757 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_2d()
1779 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d()
1798 size_t threads_count; in pthreadpool_parallelize_2d_with_thread() local
1799 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_2d_with_thread()
1821 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d_with_thread()
1841 size_t threads_count; in pthreadpool_parallelize_2d_tile_1d() local
1842 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= 1 … in pthreadpool_parallelize_2d_tile_1d()
1867 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d_tile_1d()
1889 size_t threads_count; in pthreadpool_parallelize_2d_tile_1d_with_uarch() local
1890 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= 1 … in pthreadpool_parallelize_2d_tile_1d_with_uarch()
1926 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d_tile_1d_with_uarch()
1948 size_t threads_count; in pthreadpool_parallelize_2d_tile_1d_with_uarch_with_thread() local
1949 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= 1 … in pthreadpool_parallelize_2d_tile_1d_with_uarch_with_thread()
1985 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d_tile_1d_with_uarch_with_thread()
2006 size_t threads_count; in pthreadpool_parallelize_2d_tile_2d() local
2007 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= ti… in pthreadpool_parallelize_2d_tile_2d()
2035 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d_tile_2d()
2058 size_t threads_count; in pthreadpool_parallelize_2d_tile_2d_with_uarch() local
2059 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= ti… in pthreadpool_parallelize_2d_tile_2d_with_uarch()
2098 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_2d_tile_2d_with_uarch()
2118 size_t threads_count; in pthreadpool_parallelize_3d() local
2119 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_3d()
2144 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d()
2165 size_t threads_count; in pthreadpool_parallelize_3d_tile_1d() local
2166 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_3d_tile_1d()
2194 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d_tile_1d()
2215 size_t threads_count; in pthreadpool_parallelize_3d_tile_1d_with_thread() local
2216 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_3d_tile_1d_with_thread()
2244 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d_tile_1d_with_thread()
2267 size_t threads_count; in pthreadpool_parallelize_3d_tile_1d_with_uarch() local
2268 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_3d_tile_1d_with_uarch()
2307 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d_tile_1d_with_uarch()
2330 size_t threads_count; in pthreadpool_parallelize_3d_tile_1d_with_uarch_with_thread() local
2331 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_3d_tile_1d_with_uarch_with_thread()
2370 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d_tile_1d_with_uarch_with_thread()
2392 size_t threads_count; in pthreadpool_parallelize_3d_tile_2d() local
2393 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= 1 … in pthreadpool_parallelize_3d_tile_2d()
2424 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d_tile_2d()
2448 size_t threads_count; in pthreadpool_parallelize_3d_tile_2d_with_uarch() local
2449 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i <= 1 … in pthreadpool_parallelize_3d_tile_2d_with_uarch()
2491 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_3d_tile_2d_with_uarch()
2512 size_t threads_count; in pthreadpool_parallelize_4d() local
2513 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_4d()
2543 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_4d()
2565 size_t threads_count; in pthreadpool_parallelize_4d_tile_1d() local
2566 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_4d_tile_1d()
2599 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_4d_tile_1d()
2622 size_t threads_count; in pthreadpool_parallelize_4d_tile_2d() local
2623 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_4d_tile_2d()
2658 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_4d_tile_2d()
2683 size_t threads_count; in pthreadpool_parallelize_4d_tile_2d_with_uarch() local
2684 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_4d_tile_2d_with_uarch()
2730 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_4d_tile_2d_with_uarch()
2752 size_t threads_count; in pthreadpool_parallelize_5d() local
2753 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_5d()
2786 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_5d()
2809 size_t threads_count; in pthreadpool_parallelize_5d_tile_1d() local
2810 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_5d_tile_1d()
2846 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_5d_tile_1d()
2870 size_t threads_count; in pthreadpool_parallelize_5d_tile_2d() local
2871 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_5d_tile_2d()
2909 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_5d_tile_2d()
2932 size_t threads_count; in pthreadpool_parallelize_6d() local
2933 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || (range_i | ran… in pthreadpool_parallelize_6d()
2969 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_6d()
2993 size_t threads_count; in pthreadpool_parallelize_6d_tile_1d() local
2994 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_6d_tile_1d()
3033 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_6d_tile_1d()
3058 size_t threads_count; in pthreadpool_parallelize_6d_tile_2d() local
3059 …if (threadpool == NULL || (threads_count = threadpool->threads_count.value) <= 1 || ((range_i | ra… in pthreadpool_parallelize_6d_tile_2d()
3102 const size_t range_threshold = -threads_count; in pthreadpool_parallelize_6d_tile_2d()