Lines Matching defs:threads
1151 /* Calculate the maximum grid size for OMP threads / OACC workers.
1155 limit_worker_threads (int threads)
1158 GCN can always run 4 threads within a Compute Unit, but
1160 if (threads > 16)
1161 threads = 16;
1162 return threads;
1229 "threads to at most 4 per team.\n");
1235 tune it to run 40 (or 32?) threads per CU with no threads getting queued.
1237 for OpenACC is currently 32 threads per CU. */
1241 /* Set up a reasonable number of teams and threads. */
1248 /* Auto-scale the number of teams with the number of threads. */
1256 /* Auto-scale the number of threads with the number of teams. */
1402 from different threads. */
2107 /* Reduce the number of threads/workers if there are insufficient
2115 GCN_WARNING ("Too many VGPRs required to support %d threads/workers"
2116 " per team/gang - reducing to %d threads/workers.\n",
2900 FIXME: is this thread-safe if two threads call this function? */
3066 tune it to run 40 (or 32?) threads per CU with no threads getting queued.
3068 for OpenACC is currently 32 threads per CU. */