Lines Matching refs:threads_per_go
61 threads_per_go = ncores_per_socket >> 1;
64 if (threads_per_go > 4) {
66 threads_per_go = threads_per_go >> 1;
68 if (threads_per_go > 4 && nsockets == 1)
69 threads_per_go = threads_per_go >> 1;
72 if (threads_per_go == 0)
73 threads_per_go = 1;
75 num_gos = n / threads_per_go;
76 if (n % threads_per_go)
90 threads_per_group = threads_per_go * gos_per_group;
92 num_gos = n / threads_per_go;
93 if (n % threads_per_go)
105 threads_per_group = threads_per_go * gos_per_group;
114 threads_per_go = n / num_gos;
116 threads_per_go++;
118 threads_per_go++;
119 num_gos = n / threads_per_go;
120 if (n % threads_per_go)
445 my_go_index = tid / b->threads_per_go;