JuliaSIMD / JuliaSIMD/LoopVectorization.jl

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

Aperta
#98 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Julia
Stelle
789
Fork
73
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.