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

Fill halo regions on CuArrays instead of OffsetArrays #268

Merged
merged 1 commit into from
Jun 4, 2019

Conversation

ali-ramadhan
Copy link
Member

@ali-ramadhan ali-ramadhan commented Jun 4, 2019

This PR directly indexes the underlying Array or CuArray to avoid the issue that broadcasting over an OffsetArray{CuArray} is extremely inefficient.

cc @sandreza

@ali-ramadhan ali-ramadhan added bug 🐞 Even a perfect program still has bugs performance 🏍️ So we can get the wrong answer even faster GPU 👾 Where Oceananigans gets its powers from labels Jun 4, 2019
@ali-ramadhan ali-ramadhan self-assigned this Jun 4, 2019
@ali-ramadhan ali-ramadhan merged commit 09654bb into master Jun 4, 2019
@ali-ramadhan ali-ramadhan deleted the cuarray-halos branch June 20, 2019 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Even a perfect program still has bugs GPU 👾 Where Oceananigans gets its powers from performance 🏍️ So we can get the wrong answer even faster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant