Moving ahead with CUDA support

RainerHeintzmann
Sun, 23 Feb 2025 10:44:18 +0000
GPU

For a number of applications CUDA (and AD) support of various packages (e.g. FourierTools.jl) would be great. One road-block is the support of a form of shifted and padded images.
Sometimes a requirement is a shifted and padded (writable) view, which one gets by either nesting OffsetArray and PaddedView with a mutable extension (see select_region_view() in NDTools.jl) or use a mutable version of ShiftedArray. To this aim, I filed a pull request more than a years ago with ShiftedArray adding CUDA.jl support via the Adapt.jl mechanism.
However, this is unfortunately not moving ahead and currently there is no feedback from @piever .
What is the best way to move on? Register a new package with a new name from a fork and base future work on this?

I saw related efforts (CUDA and AD support) on the 2021 roadmap for Images.jl. They seem to be using PaddedViews.jl. Is there a preference of PaddedViews combined with OffsetArrays over ShiftedArrays? I guess using ShiftedArrays could remove one level of type nesting.

3 posts - 1 participant

Read full topic