Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: [hwloc-users] Get CPU associated to a thread
From: PULVERAIL Sébastien (sebastien.pulverail_at_[hidden])
Date: 2011-08-12 07:58:51


Hello,

 

New to HWLOC, I’m using it in a multithreaded application. Each thread needs
to retrieve the associated CPU it runs on.

I don’t know how to do that L

 

Can somebody help me please…

Does a such function exist ?

 

Sebastien.