2022-04-18 15:02:25 -07:00

17 lines
221 B
C

/*
* @@name: affinity.4
* @@type: C
* @@compilable: yes
* @@linkable: no
* @@expect: success
* @@version: omp_4.0
*/
void work();
void foo()
{
#pragma omp parallel num_threads(16) proc_bind(close)
{
work();
}
}