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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [for-16.c] - Rev 867

Go to most recent revision | Compare with Previous | Blame | View Log

// PR 24703
// { dg-do compile }
 
void work(int);
int work_param;
int sphinx_omp_thread_count;
int schedule_loop_cap;
 
int measure_omp_parallel_for_dynamic (void)
{
  int j;
 
#pragma omp parallel for schedule(dynamic)
  for(j=0; j < sphinx_omp_thread_count * schedule_loop_cap; j++)
    work(work_param);
 
  return 0;
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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