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

CudaWrapper::MatrixFree crashes if quadrature points are not queried #15761

Closed
peterrum opened this issue Jul 19, 2023 · 0 comments · Fixed by #15777
Closed

CudaWrapper::MatrixFree crashes if quadrature points are not queried #15761

peterrum opened this issue Jul 19, 2023 · 0 comments · Fixed by #15777

Comments

@peterrum
Copy link
Member

The relevant lines that cause the segmentation fault are:

auto q_points_host =
Kokkos::create_mirror_view(Kokkos::WithoutInitializing,
data->q_points[color]);

auto q_points_host = Kokkos::create_mirror_view(data->q_points[color]);

There is no need to create a mirror view, since it is not used later on:

if (update_flags & update_quadrature_points)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant