Skip to content
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

Mult result conversion #2405

Merged
merged 3 commits into from
Oct 29, 2024
Merged

Mult result conversion #2405

merged 3 commits into from
Oct 29, 2024

Conversation

lucbv
Copy link
Contributor

@lucbv lucbv commented Oct 28, 2024

No description provided.

@lucbv lucbv added bug Cleanup Code maintenance that isn't a bugfix or new feature labels Oct 28, 2024
@lucbv lucbv self-assigned this Oct 28, 2024
lucbv added 2 commits October 28, 2024 11:28
This avoids potential overflow when low precision data is multiplied
and then store in higher precision variable: size_t = int * int
Focusing on issues in the library for now, unit-tests will be fixed
later.

Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
@lucbv lucbv force-pushed the mult_result_conversion branch from 5663b8f to 0f94c1b Compare October 28, 2024 17:29
After discussion in the PR, these changes should not result in issues
when passed to the view constructors and improve clarity for future
maintenance.

Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
@lucbv lucbv merged commit 5ee9a1d into kokkos:develop Oct 29, 2024
19 checks passed
@lucbv lucbv deleted the mult_result_conversion branch October 29, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Cleanup Code maintenance that isn't a bugfix or new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants