This repository was archived by the owner on Sep 25, 2023. It is now read-only.
Repository navigation
[REVIEW] cusignal.lfilter implementation - #78
Merged
Merged
Conversation
Contributor
|
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
Contributor
Author
|
Note: This implementation only work on 1D |
awthomp
reviewed
May 5, 2020
awthomp
reviewed
May 5, 2020
awthomp
suggested changes
May 5, 2020
awthomp
left a comment
Member
There was a problem hiding this comment.
Very minor changes requested and one clarification request.
Contributor
Author
|
Also added documentation to filtering.py |
awthomp
approved these changes
May 6, 2020
Contributor
Author
|
------------------------------------------------------------------------------------------ benchmark 'Lfilter': 2 tests ------------------------------------------------------------------------------------------
Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS Rounds Iterations
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
bench_lfilter_cpu[65536] 249.0070 (1.0) 278.1310 (1.0) 249.7074 (1.0) 1.2815 (1.0) 249.3590 (1.0) 0.2750 (1.0) 370;458 4,004.6875 (1.0) 4009 1
bench_lfilter_gpu[65536] 29,375.2840 (117.97) 31,349.0550 (112.71) 29,477.1940 (118.05) 337.7333 (263.54) 29,388.3325 (117.86) 91.4300 (332.49) 1;2 33.9245 (0.01) 34 1
bench_lfiltertorch_gpu[65536] 2,448,753.6310 (>1000.0) 2,658,229.9870 (517.68) 2,561,780.4254 (>1000.0) 57,878.5578 (375.83) 2,555,457.8750 (>1000.0) 100,555.4607 (>1000.0) 10;0 0.3904 (0.00) 25 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR ports @luigifreitas lfilter implementation to a CuPy raw kernel
Pre-CuPy
Post-CuPy
It is still much slower than the sciPy.signal CPU version but this was all the code can stay on the GPU.