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

Add ability for users to specify PAPI events in Dr Hook #27

Draft
wants to merge 5 commits into
base: papi
Choose a base branch
from

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    d61378c View commit details
    Browse the repository at this point in the history
  2. Fix missing intent

    Andrew-Beggs-ECMWF committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    e923190 View commit details
    Browse the repository at this point in the history
  3. Add new debug print

    This new print clarifies what the next set of prints are referring to.
    
    It also slightly optimises the subsequent control flow.
    Andrew-Beggs-ECMWF committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    0496bc3 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Add functionality for user specified PAPI events

    This allows user to specify their own PAPI events (up to MAXNPAPICNTRS, defaulting to 4).
    This is done with the DR_HOOK_PAPI_COUNTERS flag. If the flag is not specified, and PAPI
    is enabled, then the following defaults will be chosen:
    PAPI_TOT_CYC
    PAPI_FP_OPS
    PAPI_L1_DCA
    PAPI_L2_DCM
    
    If an invalid event is chosen, then DrHook will simply crash will an appropriate error message.
    Andrew-Beggs-ECMWF committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    7c56580 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Fix whitespacing

    This commit removes all tabs, in favour of two spaces, in files touched by ecmwf-ifs#26 and ecmwf-ifs#27.
    Andrew-Beggs-ECMWF committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    0cf6b5d View commit details
    Browse the repository at this point in the history