JuliaSIMD / JuliaSIMD/LoopVectorization.jl
vmap and StaticVectors
- Dominant language
- Julia
- Stars
- 789
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
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}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100