URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [sharing-3.c] - Rev 867
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ #define N 50 #define CHUNKSIZE 5 main () { int i, chunk; float c[N]; chunk = CHUNKSIZE; #pragma omp parallel for shared (c, chunk) schedule (dynamic, chunk) for (i = 0; i < N; i++) c[i] = i; return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log