JuliaSIMD / JuliaSIMD/LoopVectorization.jl

cis (and Float64 -> ComplexF64) support?

Open
#131 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
789
Forks
73
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.