Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does PAPI support unbound or non-kernel threads?

PAPI support threads Unbound
0
Posted

Does PAPI support unbound or non-kernel threads?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123