77 if (algorithm ==
'q') {
83 *nquarkthreads = ncorespsocket;
86 if ((m > 0) && (m <= 2080)) {
96 if ((m > 2080) && (m <= 3360)) {
102 if ((*nthreads + *nquarkthreads) > ncores)
103 *nthreads = ncores - *nquarkthreads;
108 if ((m > 3360) && (m <= 4640)) {
114 if ((*nthreads + *nquarkthreads) > ncores)
115 *nthreads = ncores - *nquarkthreads;
120 if ((m > 4640) && (m <= 5920)) {
126 if ((*nthreads + *nquarkthreads) > ncores)
127 *nthreads = ncores - *nquarkthreads;
130 if ((ncores == 12) && (ncorespsocket == 6)) {
142 if ((m > 5920) && (m <= 7200)) {
148 if ((*nthreads + *nquarkthreads) > ncores)
149 *nthreads = ncores - *nquarkthreads;
152 if ((ncores == 12) && (ncorespsocket == 6)) {
164 if ((m > 7200) && (m <= 8480)) {
170 if ((*nthreads + *nquarkthreads) > ncores)
171 *nthreads = ncores - *nquarkthreads;
174 if ((ncores == 12) && (ncorespsocket == 6)) {
186 if ((m > 8480) && (m <= 9760)) {
192 if ((*nthreads + *nquarkthreads) > ncores)
193 *nthreads = ncores - *nquarkthreads;
196 if ((ncores == 12) && (ncorespsocket == 6)) {
203 if (precision ==
's'){
215 if ((m > 9760) && (m <= 11040)) {
221 if ((*nthreads + *nquarkthreads) > ncores)
222 *nthreads = ncores - *nquarkthreads;
225 if ((ncores == 12) && (ncorespsocket == 6)) {
232 if (precision ==
's'){
244 if ((m > 11040) && (m <= 12320)) {
250 if ((*nthreads + *nquarkthreads) > ncores)
251 *nthreads = ncores - *nquarkthreads;
254 if ((ncores == 12) && (ncorespsocket == 6)) {
258 if (precision ==
'c'){
267 if (precision ==
's'){
279 if ((m > 12320) && (m <= 13600)) {
285 if ((*nthreads + *nquarkthreads) > ncores)
286 *nthreads = ncores - *nquarkthreads;
288 if (precision ==
'z'){
295 if ((ncores == 12) && (ncorespsocket == 6)) {
299 if (precision ==
'c'){
308 if (precision ==
's'){
320 if ((m > 13600) && (m <= 15220)) {
326 if ((*nthreads + *nquarkthreads) > ncores)
327 *nthreads = ncores - *nquarkthreads;
329 if (precision ==
'd'){
336 if ((ncores == 12) && (ncorespsocket == 6)) {
340 if (precision ==
'c'){
349 if (precision ==
's'){
361 if ((m > 15220) && (m <= 16800)) {
367 if ((*nthreads + *nquarkthreads) > ncores)
368 *nthreads = ncores - *nquarkthreads;
370 if (precision ==
'd'){
377 if (precision ==
'c'){
384 if ((ncores == 12) && (ncorespsocket == 6)) {
388 if (precision ==
'c'){
397 if (precision ==
's'){
415 if ((*nthreads + *nquarkthreads) > ncores)
416 *nthreads = ncores - *nquarkthreads;
418 if (precision ==
'd'){
425 if (precision ==
'c'){
432 if ((ncores == 12) && (ncorespsocket == 6)) {
436 if (precision ==
'c'){
445 if (precision ==
's'){