1
0
mirror of https://github.com/OpenMP/Examples.git synced 2025-04-07 15:12:11 +01:00
OpenMP-Examples/sources/Example_affinity.1.c

22 lines
223 B
C

/*
* @@name: affinity.1c
* @@type: C
* @@compilable: yes
* @@linkable: yes
* @@expect: success
*/
void work();
int main()
{
#pragma omp parallel proc_bind(spread) num_threads(4)
{
work();
}
return 0;
}