-
Notifications
You must be signed in to change notification settings - Fork 17
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 a context-level query capability. #621
Conversation
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.
I like this, nice and concise. Just a few comments.
{ | ||
parsec_device_module_t* dev; | ||
va_list args; | ||
va_start(args, cmd); |
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.
Missing call to va_end
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.
There are too many return points to place an va_end. Plus everything related to the va_list is on the stack, so returning should clean up everything.
0c3320f
to
a7b8833
Compare
Added documentation for the vararg, and the different commands. |
Augment the PaRSEC context API with query capabilities, allowing users to find the number of processes, cores and other information from a PaRSEC context. Signed-off-by: George Bosilca <[email protected]>
a7b8833
to
55ce910
Compare
Augment the PaRSEC context API with query capabilities, allowing users to find the number of processes, cores and other information from a PaRSEC context.