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

Add an LRU Cache to the convolution worker #411

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

phargogh
Copy link
Member

@phargogh phargogh commented Oct 11, 2024

Reading pixel values during the convolution worker's execution allows us a bit of a speedup. On a ~3GB signal raster with a 200px-by-200px kernel raster, I'm seeing speedups of about 10%. There remain interesting opportunities for us to optimize further by more carefully considering spatial locality in scheduling of blocks for the worker.

Fixes #373

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.

Would an LRUCache add anything to convolve_2d?
1 participant