-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
type-bugIssues discussing bugs or PRs fixing bugsIssues discussing bugs or PRs fixing bugs
Description
Issue Description
Currently in the master branch, you can take an event without the component name prefix and successfully add it to an EventSet. For example, on a machine with 1 * A100 the cuda component has the event cuda:::dram__bytes:stat=avg:device=0. Removing the component name prefix will still see us successfully add this cuda component event:
./[ICL:methane bin]$ ./papi_command_line dram__bytes:stat=avg:device=0
This utility lets you add events from the command line interface to see if they work.
Successfully added: dram__bytes:stat=avg:device=0
dram__bytes:stat=avg:device=0 : 9
----------------------------------
This should not be allowed for the cuda component and any component's outside of the perf_event component. As the perf_event component does have events that show in papi_native_avail that do not have a PMU or component prefix i.e. BR_MISP_EXEC.
Operating System
Rocky Linux 9.6 (Blue Onyx)
Architecture
x86_64
CPU Architecture
Intel Xeon Gold 6140
Compiler
GCC 11.5.0
PAPI Version
master
Component
all
Steps to Reproduce
No response
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type-bugIssues discussing bugs or PRs fixing bugsIssues discussing bugs or PRs fixing bugs