OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [for-16.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
// PR 24703
2
// { dg-do compile }
3
 
4
void work(int);
5
int work_param;
6
int sphinx_omp_thread_count;
7
int schedule_loop_cap;
8
 
9
int measure_omp_parallel_for_dynamic (void)
10
{
11
  int j;
12
 
13
#pragma omp parallel for schedule(dynamic)
14
  for(j=0; j < sphinx_omp_thread_count * schedule_loop_cap; j++)
15
    work(work_param);
16
 
17
  return 0;
18
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.