Skip to content

impl missing for complex broadcast? #550

@jkwashbourne-oss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions