Is there any openmp function to tell which thread runs on which CPU?

Is there any openmp function to tell which thread runs on which CPU?

Is there a function like "omp_get_cpu_num()" to tell the thread runs on which cpu?Thanks.

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

there are no such functions..

one more note - may beKMP_AFFINITY=verbose will help you with your tasks? please refer to the Intel Compiler Doc for details..

Login to leave a comment.