URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [sharing-3.c] - Rev 378
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