Description
To make existing packages CUDA-capable, one can use the Adapt
mechanism and write an extension.
This extension can either reside in the supporting package (e.g. ShiftedArrays.jl
) or possibly in the ext
folder in the CUDA.jl
package.
As for ShiftedArrays.jl
there were PRs more a year ago, trying to add such cuda support, but this never led to a merge and a new release.
JuliaArrays/ShiftedArrays.jl#67
One could also construct a package with only the extension in it, but this seem to be a clear example of type piracy, i.e. not the right way to go.
The question is therefore, whether I should port move the file in ext
from this PR
JuliaArrays/ShiftedArrays.jl#70
to the ext
folder of CUDA.jl
and make a PR here.
Similarly one cold do so for the FourierTools.jl
package:
bionanoimaging/FourierTools.jl#56
Is this an option? Would be great to get this finally done.