-
Notifications
You must be signed in to change notification settings - Fork 548
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
Docs: Update Math API page #3738
base: docs/develop
Are you sure you want to change the base?
Conversation
a1238f8
to
e9be8fc
Compare
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.
Looks good to me, except for the missing data related to the functions that don't run on GPUs.
difference between a HIP math function result and its corresponding C++ standard library | ||
function (e.g., comparing HIP's sinf with C++'s sinf). | ||
|
||
The following C++ example shows a simplified method for computing ULP differences between |
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 the addition of the test case example, but wonder if it should appear after the tables? We could have a reference to it here, above the tables, like "See the Example code for a demonstration of how this data was captured." or something like it?
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 think it should be before the table, as it's more helpful for users to know how the metric is measured before seeing the metric values themselves
The functions in this section prioritize numerical accuracy and correctness, making them well-suited for | ||
applications that require high precision and predictable results. | ||
|
||
Arithmetic |
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 the sorted tables, and the stacked Single/Double Precision tables.
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!
@adeljo-amd Could you please rebase the branch? |
Done |
The goal of this PR is to improve the usability of the Math API page, by providing information about each function's maximum ULP error when compared against the C++ standard library (if applicable). It also highlights specific math functions which are unsupported too.