LoopVectorization.jl icon indicating copy to clipboard operation
LoopVectorization.jl copied to clipboard

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

Open rcalxrc08 opened this issue 4 years ago • 1 comments

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 but I have no idea then how to glue it with the @avx loop.

rcalxrc08 avatar Apr 15 '20 15:04 rcalxrc08

I'll add support for VectorizedRNG.jl.

chriselrod avatar Apr 15 '20 16:04 chriselrod