I apologize for this basic question but I have not been able to resolve this by going through the documentation. How does one create a GPU array from an Array using KernelAbstractions? Similar to
CuArray(array)? In the 2021 JuliaCon tutorial there are references to a
GpuArray function but that does not seem to be part of the API anymore. The only way I can see doing this now is to use
alllocate() and then
copyto!(). Is this the best way?
adapt(backend, array) should work. otherwise