Skip to content
Discussion options

You must be logged in to vote

Ah, indeed. In short, we can't use gather inside of a recorded loop (basically the main integrator loop).

The solution would then be to construct the sampler to have the repetition.
The inc variables defines multiples RNS "streams" in the PCG32 sampler. It is initialized here. You should be able to modify it such that is is repeating (it is a public member).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@juhyeonkim95
Comment options

@njroussel
Comment options

Answer selected by juhyeonkim95
@juhyeonkim95
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants