JuliaSIMD / JuliaSIMD/LoopVectorization.jl

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

Open
#98 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
789
Forks
73
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.