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

natural_breaks(): drop gpu support #705

Merged
merged 1 commit into from May 4, 2022
Merged

Conversation

thuydotm
Copy link
Contributor

@thuydotm thuydotm commented May 4, 2022

The current implementation of natural_breaks algorithm is extremely sequential. The GPU support for this function does not improve but worsen the performance as there is no paralelizable part. It just changes the numpy buffers with cupy buffers without using numba. For these reasons, we should completely remove it.

@codecov-commenter
Copy link

Codecov Report

Merging #705 (f20dc7f) into master (56c3ebf) will increase coverage by 0.59%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #705      +/-   ##
==========================================
+ Coverage   80.61%   81.21%   +0.59%     
==========================================
  Files          19       19              
  Lines        4111     4077      -34     
==========================================
- Hits         3314     3311       -3     
+ Misses        797      766      -31     
Impacted Files Coverage Δ
xrspatial/classify.py 78.03% <100.00%> (+7.89%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56c3ebf...f20dc7f. Read the comment docs.

@thuydotm thuydotm merged commit 7d9b339 into master May 4, 2022
@thuydotm thuydotm deleted the natural_breaks_drop_gpu branch June 1, 2022 04:29
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.

None yet

2 participants