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

OpenMP backend no longer requires volatile for Kokkos::single in a TeamPolicy #1545

Open
cwpearson opened this issue Sep 23, 2022 · 0 comments

Comments

@cwpearson
Copy link
Contributor

cwpearson commented Sep 23, 2022

kokkos/kokkos#5452 may cause this use of volatile to produce a compile-time error. This volatile qualifier can be removed.

volatile nnz_lno_t *tmp = NULL;

[&](volatile nnz_lno_t *&memptr) {
memptr = (volatile nnz_lno_t *)(memory_space.allocate_chunk(

volatile nnz_lno_t *tmp = NULL;

[&](volatile nnz_lno_t *&memptr) {
memptr = (volatile nnz_lno_t *)(memory_space.allocate_chunk(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants