JuliaLang/julia

Greedy: want atsign-simd working for zip

Offen

#15.378 geöffnet am 06.03.2016

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Julia (5.773 Forks)batch import
compiler:simdhelp wanted

Repository-Metriken

Stars
 (48.709 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Inspired by https://github.com/JuliaLang/julia/pull/15356#issuecomment-192931987 and the discussion there, it would be lovely if the following worked:

@simd for (IA, IB) in zip(eachindex(A), eachindex(B))
    @inbounds s += A[IA] * B[IB]
end

Contributor Guide