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] - Rev 689

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.