OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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;
}
 

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.