-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Ginkgo: add PAPI SDE support #39425
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
Ginkgo: add PAPI SDE support #39425
Conversation
b2aedfb to
f994fe0
Compare
| conflicts("+sde", when="@:1.6.0") | ||
| conflicts("+sde", when="@master") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I don't get it. Are you adding a variant that always conflicts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, this works only on develop Can you make it clear and enable the variant only when=@develop and remove the conflicts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is not the case anymore after #40874 I will update it.
| conflicts("+sde", when="@:1.6.0") | ||
| conflicts("+sde", when="@master") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, this works only on develop Can you make it clear and enable the variant only when=@develop and remove the conflicts?
f994fe0 to
51a4387
Compare
| variant("sycl", default=False, description="Enable SYCL backend") | ||
| variant("develtools", default=False, description="Compile with develtools enabled") | ||
| variant("hwloc", default=False, description="Enable HWLOC support") | ||
| variant("sde", default=False, description="Enable PAPI SDE support") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also:
| variant("sde", default=False, description="Enable PAPI SDE support") | |
| variant("sde", default=False, description="Enable PAPI SDE support", when="@1.7:") |
| conflicts("+sde", when="@:1.6.0") | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And delete these lines:
| conflicts("+sde", when="@:1.6.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I forgot I could do it this way
facefaf to
74ff31c
Compare
Head branch was pushed to by a user without write access
74ff31c to
d28c1b6
Compare
Signed-off-by: Terry Cojean <[email protected]> Co-authored-by: Massimiliano Culpo <[email protected]>
d10ae87 to
8eef2b2
Compare
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
Signed-off-by: Terry Cojean <[email protected]> Co-authored-by: Massimiliano Culpo <[email protected]>
Signed-off-by: Terry Cojean <[email protected]> Co-authored-by: Massimiliano Culpo <[email protected]>
Adds a new option
+sdewhich enables PAPI Software Define Events (SDE).This allows other libraries to access software-defined Ginkgo counters through the standard PAPI interfaces.
Currently, only the most recent Ginkgo version (develop) and the most recent PAPI (master) is supported.