We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ComplexF32
X-ref MasonProtter/Bumper.jl#34
cc @MasonProtter
I think there is an issue with complex input and some operators. For these it might make sense to have a fallback method available? MWE:
julia> using StrideArrays julia> let a = StrideArray{ComplexF32}(undef, 10) a .= 1 a .= cos.(a) end ERROR: MethodError: no method matching vmaterialize!(::StrideArray{…}, ::Base.Broadcast.Broadcasted{…}, ::Val{…}, ::Val{…}, ::Val{…}) Closest candidates are: vmaterialize!(::Any, ::Any, ::Val{Mod}, ::Val{UNROLL}) where {Mod, UNROLL} @ LoopVectorization ~/.julia/packages/LoopVectorization/7gWfp/src/broadcast.jl:753 vmaterialize!(::Union{Adjoint{T, A}, Transpose{T, A}}, ::BC, ::Val{Mod}, ::Val{UNROLL}, ::Val{dontbc}) where {T<:Union{Bool, Float16, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, SIMDTypes.Bit}, N, A<:AbstractArray{T, N}, BC<:Union{Base.Broadcast.Broadcasted, LoopVectorization.Product}, Mod, UNROLL, dontbc} @ LoopVectorization ~/.julia/packages/LoopVectorization/7gWfp/src/broadcast.jl:682 vmaterialize!(::AbstractArray{T, N}, ::BC, ::Val{Mod}, ::Val{UNROLL}, ::Val{dontbc}) where {T<:Union{Bool, Float16, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, SIMDTypes.Bit}, N, BC<:Union{Base.Broadcast.Broadcasted, LoopVectorization.Product}, Mod, UNROLL, dontbc} @ LoopVectorization ~/.julia/packages/LoopVectorization/7gWfp/src/broadcast.jl:673 ... Stacktrace: [1] vmaterialize! @ LoopVectorization ~/.julia/packages/LoopVectorization/7gWfp/src/broadcast.jl:759 [inlined] [2] _materialize! @ StrideArrays ~/.julia/packages/StrideArrays/PeLtr/src/broadcast.jl:181 [inlined] [3] materialize!(dest::StrideArray{…}, bc::Base.Broadcast.Broadcasted{…}) @ StrideArrays ~/.julia/packages/StrideArrays/PeLtr/src/broadcast.jl:188 [4] top-level scope @ REPL[9]:3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
X-ref MasonProtter/Bumper.jl#34
cc @MasonProtter
I think there is an issue with complex input and some operators. For these it might make sense to have a fallback method available? MWE:
The text was updated successfully, but these errors were encountered: