Open Roger-luo opened 5 years ago
https://github.com/QuantumBFS/CuYao.jl/blob/ac4d15856a90bd8a63b3fdc4a8711f98af0dac49/src/CUDApatch.jl#L80
Should use LinearAlgebra.promote_op for consistency with Base
LinearAlgebra.promote_op
Base
So, what is the difference?
https://github.com/QuantumBFS/CuYao.jl/blob/ac4d15856a90bd8a63b3fdc4a8711f98af0dac49/src/CUDApatch.jl#L80
Should use
LinearAlgebra.promote_op
for consistency withBase