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

Refactor of CUDA *_n reductions #1261

Merged
merged 2 commits into from
Aug 1, 2023
Merged

Refactor of CUDA *_n reductions #1261

merged 2 commits into from
Aug 1, 2023

Conversation

ianthomas23
Copy link
Member

Builds on top of #1260, refactoring CUDA *_n reductions to reduce code duplication and make the GPU code more similar to the CPU code. It adds a new cuda_shift_and_insert function, separates out the 3D and 4D *_n combine functions, and adds *_impl functions for the shared functionality between the 3D and 4D combinations.

@ianthomas23 ianthomas23 added this to the v0.15.2 milestone Jul 31, 2023
@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Merging #1261 (fd6a50b) into main (81260ca) will increase coverage by 0.12%.
The diff coverage is 34.14%.

@@            Coverage Diff             @@
##             main    #1261      +/-   ##
==========================================
+ Coverage   83.49%   83.62%   +0.12%     
==========================================
  Files          35       35              
  Lines        8955     8938      -17     
==========================================
- Hits         7477     7474       -3     
+ Misses       1478     1464      -14     
Files Changed Coverage Δ
datashader/reductions.py 79.16% <22.58%> (+1.02%) ⬆️
datashader/transfer_functions/_cuda_utils.py 26.38% <29.62%> (+5.75%) ⬆️
datashader/utils.py 82.71% <100.00%> (-0.20%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ianthomas23 ianthomas23 merged commit 0b71920 into holoviz:main Aug 1, 2023
15 of 16 checks passed
@ianthomas23 ianthomas23 deleted the cuda_shift_and_insert branch August 1, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant