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
The cuda::std::decay_t type alias is currently defined as:
cuda::std::decay_t
template <class _Tp> using decay_t = typename decay<_Tp>::type;
This forces the instantiation of the cuda::std::decay class template, which is not necessary when the __decay compiler intrinsic is available.
cuda::std::decay
__decay
#if defined(_CCCL_BUILTIN_DECAY) template <class _Tp> using decay_t = _CCCL_BUILTIN_DECAY(_Tp); #else template <class _Tp> using decay_t = typename decay<_Tp>::type;
There are similar efficiency wins to be had for many of the other type trait alias templates.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
cuda::std::decay_t
type alias is currently defined as:This forces the instantiation of the
cuda::std::decay
class template, which is not necessary when the__decay
compiler intrinsic is available.There are similar efficiency wins to be had for many of the other type trait alias templates.
The text was updated successfully, but these errors were encountered: