JuliaSIMD / JuliaSIMD/LoopVectorization.jl
cis (and Float64 -> ComplexF64) support?
- Lingua principale
- Julia
- Stelle
- 789
- Fork
- 73
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Some vectorized math libraries (i. e. Intel VML) have a specialized `cis` routine, although I notice SLEEF doesn't.
Is there any possible benefit to adding `cis` support? In the "Future Work" section of the docs, plans are mentioned to support heterogeneous types in the loop and non-primitive types better. Would that be a prerequisite for including a fast `cis` implementation?
I also noted that if I wrote out the loop, things would at least run, but using the convenience functions gave me an error:
```
using LoopVectorization
x = rand(1000)
vmap(cis, x)
```
throws
```
ERROR: KeyError: key Complex{Float64} not found
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by reproducing the reported vmap(cis, x) example and its Complex{Float64} KeyError. Read the documentation's Future Work section and trace how convenience functions handle heterogeneous or non-primitive types. Done would require a decided approach for cis support and confirmation that the example works with appropriate coverage.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- julia
- Ambito
- performance
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100