JuliaSIMD / JuliaSIMD/LoopVectorization.jl

Any way to generate random numbers inside an @avx loop?

Abierto
#98 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Julia
Estrellas
789
Forks
73
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I am trying to parallellize a loop containing a random number generation, but the status of the rng is kept costant across each index of the loop, leading to a matrix with some rows.

Any idea how to solve this problem?

I could use [VectorizedRNG.jl](https://github.com/chriselrod/VectorizedRNG.jl) but I have no idea then how to glue it with the @avx loop.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reproducing the random-number generation inside the @avx loop and read VectorizedRNG.jl to understand the proposed integration point. Done would mean the loop produces independent random values for each index rather than repeating the RNG state across rows, with a demonstrated working example or test.

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
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.