Hi I have recently started programming in openMP. I wanted to know is there any directive available to associate a particular thread to a particular every time it is relaunched.
Suppose, I have 4 cores and 4 threads for each core. Core 1 - Thread 1 Core 2 - Thread 2 Core 3 - Thread 3 Core 4 - Thread 4.
Now, what I want is that, every time thread 1 is scheduled/started it should start on core 1 itself. It like thread binding.