OpenMP-Examples/sources/Example_affinity.4.c
2020-06-26 07:54:45 -07:00

17 lines
222 B
C

/*
* @@name: affinity.4c
* @@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();
}
}