-
Notifications
You must be signed in to change notification settings - Fork 24
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
Refactor the API. #37
Comments
Here are some proposed contents for apex_events.h:
|
Thanks for these. So hpx itself does not "count" these events or does so only in terms of time? Phil Apologies for brevity and errors as this was sent from my mobile device.
|
Those events aren’t HPX specific - if anything, they are OCR/Legion specific. They came from a meeting held in mid-2015 between Sandia, Intel and LLNL (that we found out about after-the-fact). We haven’t had a chance to integrate any of these ideas into APEX and/or HPX. HPX does keep track of these counters, but only with respect to tasks I think. I do think HPX has a concept of task states (and corresponding counters), such as created, scheduled, yielded, executing, completed, etc. - we don't tie into them explicitly. But we could/should - it just depends on whether you want to suffer the overhead of monitoring those state transitions. |
Ok, understood. Yes, as we discussed, we will eventually decide to pay for the performance penalty to measure this stuff. I’m assuming we should be able to measure the implications of such code with benchmarks… I do doubt whether HPX or similar run-times are as lean as they claim to be, there’s a lot of pointer-dereferencing in ‘dem ‘dar hills. Good to know about the events though. Definitely food for thought. Thanks! Philip J. Mucci
|
We need to review the events published by OCR and think about re-doing the API to be more useful. Here's a link to the OCR and Legion type events:
https://docs.google.com/presentation/d/1WabD-rOOVMODfHlh3F2PUiQjsGbfLi69KkPyG7tFeVw/edit#slide=id.gc56cbbd08_0_35
In particular, we need to think about task lifetimes and dependencies. We also should think about how we can unify (somehow) the C and C++ interfaces so that we don't have so much code duplication, or maybe some way to generate the API for either C or C++ or both.
The text was updated successfully, but these errors were encountered: