JuliaSIMD / JuliaSIMD/LoopVectorization.jl
vmap and StaticVectors
- Vorherrschende Sprache
- Julia
- Sterne
- 789
- Forks
- 73
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
As predicted, `vmap` gives me a tremendous boost in performance =) I'm hitting an error when mapping over static arrays though
```julia
julia> vmap(exp, randn(8));
julia> vmap(exp, @SVector randn(8));
ERROR: conversion to pointer not defined for SArray{Tuple{8},Float64,1,8}
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduce the reported commands with Julia, comparing vmap(exp, randn(8)) and vmap(exp, @SVector randn(8)). Trace the vmap handling of the SArray input and determine what needs to change so the static-array call completes without the pointer-conversion error; done means the reproduced call succeeds.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- julia
- Bereich
- performance
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100