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

Copy to Host: Array4.to_numpy(copy=True) #196

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Sep 29, 2023

Support to_numpy copies w/o shared memory from device memory views in Array4.

X-ref #55

@ax3l ax3l added the enhancement New feature or request label Sep 29, 2023
tests/test_multifab.py Fixed Show fixed Hide fixed
@ax3l ax3l changed the title [WIP] Array4 Copy-to-Host Copy to Host: Array4.to_numpy(copy=True) Oct 3, 2023
@ax3l ax3l marked this pull request as ready for review October 3, 2023 02:15
src/Base/Array4.H Fixed Show fixed Hide fixed
src/Base/Array4.H Outdated Show resolved Hide resolved
@ax3l ax3l force-pushed the array4-numpy-copy-host branch 4 times, most recently from 70acce8 to 21338df Compare October 3, 2023 20:44
@ax3l ax3l added the backend: cuda Specific to CUDA execution (GPUs) label Oct 3, 2023
Support `to_numpy` copies w/o shared memory from device memory views in `Array4`.
@ax3l ax3l merged commit a719df9 into AMReX-Codes:development Oct 3, 2023
17 of 18 checks passed
@ax3l ax3l deleted the array4-numpy-copy-host branch October 3, 2023 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: cuda Specific to CUDA execution (GPUs) enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants