/haiku-buildtools/gcc/libgomp/testsuite/libgomp.fortran/ |
H A D | reduction6.f90 | 5 integer nthreads variable 7 nthreads = -1 8 call foo (a (2:4, 3:5), nthreads) 9 if (nthreads .eq. 3) then 14 subroutine foo (b, nthreads) 17 integer :: err, nthreads local in subroutine:foo 26 nthreads = omp_get_num_threads ()
|
/haiku-buildtools/gcc/libgomp/testsuite/libgomp.c/ |
H A D | omp_hello.c | 19 int nthreads, tid; local 22 #pragma omp parallel private(nthreads, tid) 32 nthreads = omp_get_num_threads(); 33 printf("Number of threads = %d\n", nthreads);
|
H A D | critical-2.c | 13 int nthreads; local 16 #pragma omp parallel shared (A, nthreads) 19 nthreads = omp_get_num_threads (); 31 if (A[i] != nthreads)
|
H A D | target-critical-1.c | 12 int i, nthreads; local 15 #pragma omp parallel shared (A, nthreads) 18 nthreads = omp_get_num_threads (); 30 if (A[i] != nthreads) 44 int i, nthreads; local 48 #pragma omp parallel shared (B, nthreads) 51 nthreads = omp_get_num_threads (); 64 if (B[i] != nthreads)
|
H A D | omp_workshare1.c | 19 int nthreads, tid, i, chunk; local 27 #pragma omp parallel shared(a,b,c,nthreads,chunk) private(i,tid) 32 nthreads = omp_get_num_threads(); 33 printf("Number of threads = %d\n", nthreads);
|
H A D | omp_workshare2.c | 18 int i, nthreads, tid; local 25 #pragma omp parallel shared(a,b,nthreads) private(c,i,tid) 30 nthreads = omp_get_num_threads(); 31 printf("Number of threads = %d\n", nthreads);
|
/haiku-buildtools/gcc/libgomp/testsuite/libgomp.c++/ |
H A D | ctor-11.C | 54 static int nthreads; variable 63 nthreads = omp_get_num_threads (); 75 nthreads = omp_get_num_threads (); 88 assert (B::xcount == nthreads); 90 assert (B::icount == (nthreads + 1) * N); 91 assert (B::dcount == (nthreads + 1) * N); 95 assert (B::xcount == nthreads); 96 assert (B::ccount == nthreads); 98 assert (B::dcount == nthreads + 1);
|
H A D | ctor-1.C | 41 static int nthreads; variable 49 nthreads = omp_get_num_threads (); 60 assert (B::xcount == nthreads); 61 assert (B::icount == nthreads+1); 62 assert (B::dcount == nthreads+1);
|
H A D | ctor-7.C | 43 static int nthreads; variable 51 nthreads = omp_get_num_threads (); 62 assert (B::xcount == nthreads); 63 assert (B::icount == (nthreads+1)*N); 64 assert (B::dcount == (nthreads+1)*N);
|
H A D | ctor-6.C | 26 static int nthreads; variable 35 nthreads = omp_get_num_threads (); 47 assert (B::count == nthreads-1);
|
H A D | ctor-2.C | 51 static int nthreads; variable 60 nthreads = omp_get_num_threads (); 71 assert (B::xcount == nthreads); 72 assert (B::ccount == nthreads); 73 assert (B::dcount == nthreads+1);
|
H A D | ctor-5.C | 30 static int nthreads; variable 39 nthreads = omp_get_num_threads (); 49 assert (B::count == nthreads-1);
|
H A D | ctor-3.C | 63 static int nthreads; variable 72 nthreads = omp_get_num_threads (); 85 assert (B::icount == nthreads); 86 assert (B::dcount == nthreads+1);
|
H A D | ctor-4.C | 64 static int nthreads; variable 73 nthreads = omp_get_num_threads (); 86 assert (B::ccount == nthreads); 87 assert (B::dcount == nthreads+1);
|
H A D | sections-1.C | 18 int i, nthreads, tid; local 25 #pragma omp parallel shared(a,b,nthreads) private(c,i,tid) 30 nthreads = omp_get_num_threads(); 31 printf("Number of threads = %d\n", nthreads);
|
/haiku-buildtools/gcc/libgomp/ |
H A D | ordered.c | 44 if (team == NULL || team->nthreads == 1) 48 if (index >= team->nthreads) 49 index -= team->nthreads; 75 if (team == NULL || team->nthreads == 1) 85 if (next == team->nthreads) 110 if (team == NULL || team->nthreads == 1) 128 if (ws->ordered_num_used < team->nthreads) 131 if (index >= team->nthreads) 132 index -= team->nthreads; 137 if (index == team->nthreads) [all...] |
H A D | iter.c | 44 unsigned long nthreads = team ? team->nthreads : 1; local 50 if (nthreads == 1) 77 q = n / nthreads; 78 t = n % nthreads; 116 /* Initial guess is a C sized chunk positioned nthreads iterations 118 s0 = (thr->ts.static_trip * nthreads + i) * c; 266 unsigned long nthreads = team ? team->nthreads : 1; local 275 q = (n + nthreads 300 unsigned long nthreads = team ? team->nthreads : 1; local [all...] |
H A D | team.c | 141 gomp_new_team (unsigned nthreads) argument 147 size = sizeof (*team) + nthreads * (sizeof (team->ordered_release[0]) 158 gomp_init_work_share (&team->work_shares[0], false, nthreads); 166 team->nthreads = nthreads; 167 gomp_barrier_init (&team->barrier, nthreads); 170 team->ordered_release = (void *) &team->implicit_task[nthreads]; 273 gomp_team_start (void (*fn) (void *), void *data, unsigned nthreads, argument 295 thr->thread_pool->threads_busy = nthreads; 312 if (nthreads > [all...] |
H A D | iter_ull.c | 45 unsigned long nthreads = team ? team->nthreads : 1; local 51 if (nthreads == 1) 78 q = n / nthreads; 79 t = n % nthreads; 118 /* Initial guess is a C sized chunk positioned nthreads iterations 120 s0 = (thr->ts.static_trip * (gomp_ull) nthreads + i) * c; 267 gomp_ull nthreads = team ? team->nthreads : 1; local 279 q = (n + nthreads 304 gomp_ull nthreads = team ? team->nthreads : 1; local [all...] |
H A D | parallel.c | 137 unsigned int nthreads = team ? team->nthreads : 1; local 139 if (nthreads > 1) 149 1UL - nthreads); 152 thr->thread_pool->threads_busy -= nthreads - 1; 241 return team ? team->nthreads : 1; 288 return ts->team->nthreads;
|
H A D | sections.c | 49 long nthreads = team ? team->nthreads : 1; local 51 ws->mode = ((nthreads | ws->end)
|
H A D | work.c | 94 unsigned nthreads) 104 if (nthreads > INLINE_ORDERED_TEAM_IDS_CNT) 106 = gomp_malloc (nthreads * sizeof (*ws->ordered_team_ids)); 110 nthreads * sizeof (*ws->ordered_team_ids)); 191 gomp_init_work_share (ws, ordered, team->nthreads); 291 if (completed == team->nthreads) 93 gomp_init_work_share(struct gomp_work_share *ws, bool ordered, unsigned nthreads) argument
|
H A D | loop_ull.c | 59 long nthreads = team ? team->nthreads : 1; local 64 if (__builtin_expect ((nthreads | ws->chunk_size_ull) 68 - (nthreads + 1) * ws->chunk_size_ull); 71 else if (__builtin_expect ((nthreads | -ws->chunk_size_ull) 74 ws->mode = ws->end_ull > ((nthreads + 1) * -ws->chunk_size_ull
|
/haiku-buildtools/gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/ |
H A D | lib-88.c | 45 const int nthreads = 1; local 70 tid = (pthread_t *) malloc (nthreads * sizeof (pthread_t)); 72 for (i = 0; i < nthreads; i++) 82 for (i = 0; i < nthreads; i++)
|
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/ |
H A D | pr61209.f90 | 32 nthreads = 0 33 IF (nthreads .GT. 0 .AND. thread_redist) THEN 37 CALL dbcsr_build_row_index_inplace (thr_c, nthreads)
|