Closed albertomercurio closed 1 year ago
copyto!
is intentionally not implemented for (most) function wrappers. It's very hard to do so without ambiguities (because copyto!
is also used to copy from/to CPU memory), and generally it's only intended for low-level copies that can be executed using memcpy
s. For more high-level copy functoinality, just use broadcast.
To reproduce
The following code works:
But this not:
Version info
Details on Julia:
Details on CUDA: