We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is currently an inconsistency between View and ScatterView in their support of the pre/post increment operator
The text was updated successfully, but these errors were encountered:
Do you have an example what is working for you and what is not? Are you referring to
Kokkos::View<int**> v; Kokkos::View<int*> r Kokkos::Experimental::ScatterView<int*> results(r); Kokkos::parallel_for("Atomic Loop", v.extent(0), KOKKOS_LAMBDA(const int i) { auto access = results.access(); for(int j=0; j<v.extent(1); j++) access(v(i,j))++; });
not working while
Kokkos::View<int**> v; Kokkos::View<int*,Kokkos::MemoryTraits<Kokkos::Atomic>> r Kokkos::parallel_for("Atomic Loop", v.extent(0), KOKKOS_LAMBDA(const int i) { for(int j=0; j<v.extent(1); j++) r(v(i,j))++; });
does?
Sorry, something went wrong.
@masterleinad That is correct
No branches or pull requests
There is currently an inconsistency between View and ScatterView in their support of the pre/post increment operator
The text was updated successfully, but these errors were encountered: