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

fix(sycl): Use CeedSize value in LinearAssembleQF #1665

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

jrwrigh
Copy link
Collaborator

@jrwrigh jrwrigh commented Sep 16, 2024

Fixes overflow in the assembly process.

l_size passed to CeedElemRestrictionCreateStrided should be cast to CeedSize before beginning the multiplication. Doesn't help much to cast after the overflow has happened.

Reported by @rickybalin (@KennethEJansen also probably ran into it at some point).

@jrwrigh jrwrigh self-assigned this Sep 16, 2024
@jrwrigh jrwrigh changed the title fix(sycl): Use CeedSize value in Linear Assemble fix(sycl): Use CeedSize value in LinearAssembleQF Sep 16, 2024
@jeremylt jeremylt self-requested a review September 17, 2024 15:10
@jrwrigh jrwrigh merged commit 368ba54 into main Sep 17, 2024
28 checks passed
@jrwrigh jrwrigh deleted the jrwrigh/fix_sycl_diag branch September 17, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants