You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
except the Cuda one. Is there a reason the Cuda one has a separate default constructor without an execution space argument (resulting in a UniqueToken that is basically useless)?
Btw, the Cuda specialization is missing the definition of size_type to be consistent with all of the others, e.g.,
using size_type = int32_t;
The text was updated successfully, but these errors were encountered:
It looks like concurrency() is to be deprecated in favor of UniqueToken, consistent default constructors will help with consistency and avoiding if-guards based on enabled backends when replacing concurrency() within Kokkos (and other codes).
Actually, I just talked to @dsunder . concurrency should not have been deprecated, that was a mistake. I'm about to open a pull request that does the deprecation correctly for all common back-ends.
@ibaned
I'm trying to use UniqueToken on a PR in Kokkos-Kernels 299 but it's not working... I've looked at examples showing how UniqueToken needs to be called differently for CUDA than the others?
I've looked at #1499 (comment) but I've tried using a c'tor with my execution space as the parameter and fails to compile on Cuda.
@etphipp wrote:
All of the other implementations of UniqueToken<> have a default constructor of the form
except the Cuda one. Is there a reason the Cuda one has a separate default constructor without an execution space argument (resulting in a UniqueToken that is basically useless)?
Btw, the Cuda specialization is missing the definition of size_type to be consistent with all of the others, e.g.,
The text was updated successfully, but these errors were encountered: