-
Notifications
You must be signed in to change notification settings - Fork 407
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
Deprecate ExecutionSpace::fence() as static function and make it non-static #2140
Comments
Note if you have something like traits::execution_space::fence() You need to add typename typename traits::execution_space().fence(); |
Sed lines:
Find all the ones needing a
|
How long have Kokkos execution spaces had |
they had it as a static function for forever. But since you can call the static function like an instance method you can do the change now. |
Nathan will do this on the Kokkos Promotion branch of Trilinos btw. |
Yes I'll work on this, probably in kokkos-kernels first then Trilinos. |
Packages likely impacted (aside from Kokkos + KokkosKernels of course): |
See kokkos/kokkos#2140 The fence as a static member function of execution spaces was deprecated, made non-static.
See kokkos/kokkos#2140 Update missed fence in .cpp file
See kokkos/kokkos#2140 The fence as a static member function of execution spaces was deprecated and made non-static. Impacted packages: ifpack2, intrepid2, moertel, panzer, phalanx, sacado, shylu (fastilu and tacho), stokhos, teuchos, tpetra, trilinoscouplings
Updated in kokkos-kernels and on kokkos-promotion branch of Trilinos. |
See kokkos/kokkos#2140 The fence as a static member function of execution spaces was deprecated and made non-static. Impacted packages: ifpack2, intrepid2, moertel, panzer, phalanx, sacado, shylu (fastilu and tacho), stokhos, teuchos, tpetra, trilinoscouplings
As part of the revamp to supporting execution space instances we need fences which are specific to the instance. So we deprecate the execution space specific fence functions as static and have them being non-static.
Kokkos::fence()
is still available as a static function.As an internal implementation in order to fence all instances of a type we will have
Cuda::impl_static_fence()
Note we may change the function name for that impl thing later, or move it elsewhere.
The text was updated successfully, but these errors were encountered: