-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
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})
Metadata
Metadata
Assignees
Labels
No labels