Does PAPI support unbound or non-kernel threads?
Yes, but the counts will reflect the total events for the process. Measurements done in other threads will all get the same values, namely those counts for the total process. For non-bound threads, it is not necessary to call PAPI_thread_init. But in most scenarios like with SMP or OpenMP compiler directives, bound threads will be the default. For those using Pthreads, the user should take care to set the scope of each thread to PTHREAD_SCOPE_SYSTEM attribute, unless the system is known to have a non hybrid thread library implementation, like Linux. 8. The numbers are funky for event 0xabc on platform XYZ, help me! This is not a question, but I’ll help you. We the PAPI developers cannot be experts on the 1000’s of events found across all supported platforms. However, if you are using a PAPI preset, the first thing to do is to look up the corresponding native event code using the test case ‘avail’. Then the best bet is to always go to the vendor’s technical documentation site and check