-
Notifications
You must be signed in to change notification settings - Fork 10
Cuda support via the extension mechanism and switching from ShiftedArrays.jl to MutableShiftedArrays.jl #59
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
base: main
Are you sure you want to change the base?
Conversation
…jl, to enable clean CUDA support
|
Ok looks better. I think we have to do a breaking release as many types have changed. Did you test type stability with @code_warntype? |
|
No, I did not. Any specific function I should test, or just any of the ones that use the CUDA extension or select_region_view ? |
|
Shall we merge? |
|
Yes, we can merge in my opinion. |
…ed to 0.3.1 for MutableShiftedArrays.jl which also fixed a bug (missing similar).
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #59 +/- ##
==========================================
- Coverage 94.03% 93.11% -0.92%
==========================================
Files 19 20 +1
Lines 1173 1206 +33
==========================================
+ Hits 1103 1123 +20
- Misses 70 83 +13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Can we merge now? |
This is yet another fresh attempt to gain CUDA support.
It needs the very recent, just released version 0.8.1 of NDTools.jl to work (using the select_region_view() function).
Also the classes internal to FourierTools.jl have been extended via the Adapt mechanism.
The direction paramater was also moved to a Val() type.
The CircShiftedArray type is now supplied by
MutableShiftedArrays.jlwhich already has CUDA support via the Adapt mechanism.Some type supplied by FourierTools.jl are made CUDA compatible via the Adapt mechanism in the èxt` folder based on type Unions.