Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf_event: initial heterogeneous CPU support #188

Merged
merged 3 commits into from
Jul 3, 2024

Conversation

deater
Copy link
Contributor

@deater deater commented Jun 3, 2024

Initial support for Intel alderlake and raptorlake heterogeneous CPUs that have both e-cores and p-cores. This makes it so PAPI can build, run, and enumerate native events on these systems. (Without these patches PAPI won't run at all, it will just give an error).

We are still working on validating the results gathered by PAPI on these systems.

this should not change the behavior of the code, just adding some
comments and whitespace to clear up what the code is actually
doing to prepare for improved heterogeneous CPU support
Alderlake and Raptorlake should now be able to properly enumerate
events for both Power and Efficiency cores on heterogeneous systems.

We're still testing if PAPI properly handles measurements where
applications end up running on both types of cores.

The detection of E-cores is currently a bit of a hack, we're going
to discuss with upstream libpfm4 to see if we can get a cleaner
interface for this.
…inition

this shouldn't be possible with a correctly configured papi_event.csv
but it is still good to be robust here so that we don't segfault and
also print useful debug messages
@Treece-Burgess Treece-Burgess merged commit 3974391 into icl-utk-edu:master Jul 3, 2024
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants