Execution property type for querying allocation alignment from an environment or a buffer.
Public Functions
-
template<class _Env, ::cuda::std::enable_if_t allocation_alignment_t>
inline constexpr auto operator()(
- const _Env &__env
) const noexcept -> ::cuda::std::size_t
-
template<class _Tp, ::cuda::std::enable_if_t<__has_member_alignment<_Tp> && (!::cuda::std::execution::__queryable_with<const _Tp&, allocation_alignment_t>), int> = 0>
inline constexpr auto operator()(
- const _Tp &__t
) const noexcept(noexcept(__t.alignment())) -> ::cuda::std::size_t
Public Static Functions
-
static inline constexpr auto query(
- ::cuda::std::execution::forwarding_query_t
) noexcept -> bool