Home | History | Annotate | Download | only in nvptx

Lines Matching defs:pool

48    sets up a per-team thread pool and transfers control by calling FN (FN_DATA)
91 /* Initialize the thread pool. */
92 struct gomp_thread_pool *pool = alloca (sizeof (*pool));
93 pool->threads = alloca (ntids * sizeof (*pool->threads));
95 pool->threads[tid] = nvptx_thrs + tid;
96 pool->threads_size = ntids;
97 pool->threads_used = ntids;
98 pool->threads_busy = 1;
99 pool->last_team = NULL;
100 gomp_simple_barrier_init (&pool->threads_dock, ntids);
102 nvptx_thrs[0].thread_pool = pool;
119 gomp_thread_start (struct gomp_thread_pool *pool)
124 thr->thread_pool = pool;
128 gomp_simple_barrier_wait (&pool->threads_dock);
154 struct gomp_thread_pool *pool;
158 pool = thr->thread_pool;
188 nthr = pool->threads[i];
206 gomp_simple_barrier_wait (&pool->threads_dock);