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

Input_sounding GPU fix #1375

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Conversation

AMLattanzi
Copy link
Collaborator

@AMLattanzi AMLattanzi commented Jan 11, 2024

The data provided by GeometryData is not already on the GPU, so capturing the pointer and trying to access things like prob_lo[ind] or dx[ind] is invalid and will cause a GPU memory error. This PR just exposes the z_lo and dz before the kernel launch so we capture by value. Future work could clean this up by using Geometry, which will provide valid data on the GPU.

@AMLattanzi AMLattanzi merged commit 8db9342 into erf-model:development Jan 11, 2024
11 checks passed
@AMLattanzi AMLattanzi deleted the IS_GPU_FIX branch January 11, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant