JuliaSIMD / JuliaSIMD/LoopVectorization.jl
Unrecognized loop range type: list of integers (new feature)
- Lenguaje dominante
- Julia
- Estrellas
- 789
- Forks
- 73
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hi,
I am trying to use ```@turbo``` to loop over a list of integers. Naive implementations such as
```julia
@turbo for i in [1,10,15]
# do something
end
```
do not seem to work. However, simple workarounds like
```julia
ind = [1,10,15];
@turbo for j in eachindex(ind)
i = ind[j]
# do something
end
```
work fine. Is there any chance that similar cases will be handled as in the first example (i.e., naive implementation) in future releases?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start at the @turbo loop handling, using the direct list-of-integers example and the eachindex workaround as behavioral references. Done means the direct list-of-integers form is accepted with equivalent loop behavior, with coverage demonstrating that case.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- julia
- Área
- performance
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100