Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
1696 Discussions

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

fatalme
Beginner
374 Views
Is there a function like "omp_get_cpu_num()" to tell the thread runs on which cpu?
Thanks.
0 Kudos
2 Replies
Gennady_F_Intel
Moderator
374 Views
there are no such functions..
0 Kudos
Gennady_F_Intel
Moderator
374 Views
one more note - may beKMP_AFFINITY=verbose will help you with your tasks? please refer to the Intel Compiler Doc for details..
0 Kudos
Reply