JuliaSIMD / JuliaSIMD/LoopVectorization.jl

vmap and StaticVectors

Aperta
#7 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
789
Fork
73
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
julia
Ambito
performance
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.