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

Fast generate-implant-diffusion.py #5

Open
jamesavery opened this issue May 4, 2022 · 0 comments
Open

Fast generate-implant-diffusion.py #5

jamesavery opened this issue May 4, 2022 · 0 comments

Comments

@jamesavery
Copy link
Owner

Currently, the diffusion field generation (for use in the field histogramming) is written in Python using scipy.ndimage, and is very slow. But really, shouldn't it be fast? I believe that it should.

carljohnsen added a commit that referenced this issue May 5, 2022
carljohnsen added a commit that referenced this issue May 5, 2022
carljohnsen added a commit that referenced this issue May 5, 2022
carljohnsen added a commit that referenced this issue May 5, 2022
carljohnsen added a commit that referenced this issue May 8, 2022
carljohnsen added a commit that referenced this issue May 9, 2022
carljohnsen added a commit that referenced this issue Apr 11, 2024
carljohnsen added a commit that referenced this issue Apr 11, 2024
…tions.

Instead, parallelize over chunks of num_threads
carljohnsen added a commit that referenced this issue Apr 11, 2024
… memory (due to extremely large gaussian kernel)
carljohnsen added a commit that referenced this issue Apr 11, 2024
carljohnsen added a commit that referenced this issue Jul 29, 2024
…oid having boundary checks in the critical loops.
carljohnsen added a commit that referenced this issue Jul 29, 2024
carljohnsen added a commit that referenced this issue Jul 29, 2024
carljohnsen added a commit that referenced this issue Jul 29, 2024
carljohnsen added a commit that referenced this issue Sep 9, 2024
carljohnsen added a commit that referenced this issue Sep 10, 2024
Should be placed in a configuration somewhere, so that if it's updated, it's applied across.
carljohnsen added a commit that referenced this issue Sep 10, 2024
carljohnsen added a commit that referenced this issue Sep 10, 2024
… into one that decomposes all axes, rather than just z.
carljohnsen added a commit that referenced this issue Sep 11, 2024
carljohnsen added a commit that referenced this issue Sep 11, 2024
carljohnsen added a commit that referenced this issue Sep 11, 2024
carljohnsen added a commit that referenced this issue Sep 11, 2024
…ointers, they are swapped across threads.

This won't work when double buffering, since 1. they will be swapped num_threads times, and 2. is not thread safe.
carljohnsen added a commit that referenced this issue Sep 11, 2024
carljohnsen added a commit that referenced this issue Sep 11, 2024
carljohnsen added a commit that referenced this issue Sep 11, 2024
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

No branches or pull requests

1 participant