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
The code below works for real types and fails for complex types. Am I missing something or should this work?
using LoopVectorization
function testturbo(T)
@show T
n1,n2 = 100,200
x = zeros(T,n1)
y = rand(T,n1,n2)
for k2 ∈ 1:n2
@turbo x[:] .+= y[:,k2]
end
nothing
end
testturbo(Float32)
testturbo(Float64)
testturbo(Complex{Float32})
testturbo(Complex{Float64})