Skip to content

RNG on GPU: Assertion it's not in OMP parallel region#4799

Merged
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:omp_rng_gpu
Nov 19, 2025
Merged

RNG on GPU: Assertion it's not in OMP parallel region#4799
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:omp_rng_gpu

Conversation

@WeiqunZhang
Copy link
Copy Markdown
Member

RNG on GPU is not OpenMP thread safe.

Thank @AlexanderSinn for pointing this out.

RNG on GPU is not OpenMP thread safe.

Thank @AlexanderSinn for pointing this out.
@WeiqunZhang WeiqunZhang merged commit 5102120 into AMReX-Codes:development Nov 19, 2025
73 checks passed
@WeiqunZhang WeiqunZhang deleted the omp_rng_gpu branch November 19, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants