You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
36 function KA.copyto!(::MetalBackend, A::MtlArray{T}, B::MtlArray{T}) where T
37 if device(dest) == device(src)
38 GC.@preserve A B copyto!(A, B)
39 return A
40 else
41 error("Copy between different devices not implemented")
42 end
43 end
Calling KA.copyto! with a metal backend will throw: ERROR: LoadError: UndefVarError: dest not defined. Maybe dest and src should be A and B respectively?
The text was updated successfully, but these errors were encountered:
101001000
added a commit
to 101001000/Metal.jl
that referenced
this issue
Apr 22, 2024
in MetalKernels.jl:
Calling KA.copyto! with a metal backend will throw: ERROR: LoadError: UndefVarError:
dest
not defined. Maybe dest and src should be A and B respectively?The text was updated successfully, but these errors were encountered: