AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

BUG: Fix illegal memory access errors #176

Closed carterbox closed 2 years ago

carterbox commented 2 years ago

Fixes two sources of error only observed in multi-GPU mode. 1. memory was being copied to the host from the gpu without setting the correct device context. 2. FFT plan cache was being used without setting the correct device context.

pep8speaks commented 2 years ago

Hello @carterbox! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2021-11-19 19:49:01 UTC