Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit the scope of gpu_rand_generator #3659

Merged

Conversation

WeiqunZhang
Copy link
Member

Move gpu_rand_generator from namespace amrex to anonymous namespace. The variable is only used in AMReX_Random.cpp, so there are no reasons for it to be in the amrex namespace.

Move gpu_rand_generator from namespace amrex to anonymous namespace. The
variable is only used in AMReX_Random.cpp, so there are no reasons for it to
be in the amrex namespace.
@WeiqunZhang WeiqunZhang merged commit 43d71da into AMReX-Codes:development Dec 8, 2023
69 checks passed
@WeiqunZhang WeiqunZhang deleted the gpu_rand_generator branch December 8, 2023 19:26
guj pushed a commit to guj/amrex that referenced this pull request Dec 13, 2023
Move gpu_rand_generator from namespace amrex to anonymous namespace. The
variable is only used in AMReX_Random.cpp, so there are no reasons for
it to be in the amrex namespace.
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.

None yet

2 participants