Skip to content

impl missing for complex broadcast? #550

Description

@jkwashbourne-oss

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})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions