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
julia> a =rand(5); foo(a) =@avxfor i in1:10
a[i] =1end
foo (generic function with 1 method)
julia>foo(a)
ERROR: MethodError: no method matching vstore!(::Ptr{Float64}, ::Int64, ::VectorizationBase._MM{4,Int64})
Closest candidates are:vstore!(::Ptr{T}, ::Number, ::Integer) where T<:Number at /home/scheme/.julia/packages/VectorizationBase/T6nfs/src/vectorizable.jl:222vstore!(::Ptr{T}, ::Tuple{Vararg{VecElement{T},W}}, ::I, ::Val{Aligned}, ::Val{Nontemporal}) where {W, T, I, Aligned, Nontemporal} at /home/scheme/.julia/packages/SIMDPirates/cZufe/src/memory.jl:338vstore!(::Ptr{T}, ::Union{Tuple{Vararg{VecElement{T},W}}, VectorizationBase.AbstractStructVec{W,T}}, ::VectorizationBase._MM{W,I}where I<:Number) where {W, T} at /home/scheme/.julia/packages/SIMDPirates/cZufe/src/memory.jl:560...
Stacktrace:
[1] vnoaliasstore! at /home/scheme/.julia/packages/VectorizationBase/T6nfs/src/vectorizable.jl:220 [inlined]
[2] vnoaliasstore! at /home/scheme/.julia/packages/VectorizationBase/T6nfs/src/vectorizable.jl:218 [inlined]
[3] macro expansion at /home/scheme/.julia/packages/LoopVectorization/IESri/src/reconstruct_loopset.jl:416 [inlined]
[4] _avx_! at /home/scheme/.julia/packages/LoopVectorization/IESri/src/reconstruct_loopset.jl:416 [inlined]
[5] foo(::Array{Float64,1}) at ./REPL[21]:1
[6] top-level scope at REPL[22]:1
[7] eval(::Module, ::Any) at ./boot.jl:331
[8] eval_user_input(::Any, ::REPL.REPLBackend) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:86
[9] run_backend(::REPL.REPLBackend) at /home/scheme/.julia/packages/Revise/Pcs5V/src/Revise.jl:1073
[10] top-level scope at none:0
The text was updated successfully, but these errors were encountered:
MWE:
The text was updated successfully, but these errors were encountered: