-
Notifications
You must be signed in to change notification settings - Fork 22
Elevate provisional and convert macros to APIs #526
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
Conversation
Elevate all provisional definitions except for those in the "storage" chapter as they are not ready. Convert all utility macros to functions, except for the "static init" macros as those must be in macro form. Cleanup a few copy/paste errors discovered along the way. Signed-off-by: Ralph Castain <[email protected]>
|
Please use emoji reactions ON THIS COMMENT to indicate your position on this proposal.
Here are the meanings for the emojis:
|
Converting this macro to a PMIx_Value_get_number function requires a signature change - it is no longer possible to pass the C datatype for casting the result. Instead, we now pass the PMIx datatype that corresponds to the desired C casting. We also extend the function to return a new PMIX_ERR_LOST_PRECISION status when the casting can potentially cause a loss of precision - e.g., when changing from a "float" to an "int" - and a new PMIX_ERR_CHANGE_SIGN status when the casting would cause a change in sign - e.g., when changing from a negative integer to a "size_t". Signed-off-by: Ralph Castain <[email protected]>
| %\begin{compactitemize} | ||
| %\end{compactitemize} | ||
|
|
||
| \subsection{Added Functions (Provisional)} |
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.
Check for later: we may need a Added Functions subsection that summarizes promotion from provisional to stable (refer to how we did in v4)
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.
LGTM overall we may still want to do that
|
2025 ASC Q3 Voting Result: Passed (7 Yes, 0 No, 2 Abstain) |
|
Note, for the ticket trails. This item is for "Stable" so needs 2nd vote at next quarterly. |
|
2025-Q4 Second Vote passed: 7 yes, 0 No, 0 Abstain |
|
@naughtont3 Can you please check off the review button? |
| %\begin{compactitemize} | ||
| %\end{compactitemize} | ||
|
|
||
| \subsection{Added Functions (Provisional)} |
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.
LGTM overall we may still want to do that
Elevate all provisional definitions except for those in the "storage" chapter as they are not ready. Convert all utility macros to functions, except for the "static init" macros as those must be in macro form.
Cleanup a few copy/paste errors discovered along the way.
Refs #518