31 #include <thrust/detail/static_assert.h>
61 template<
typename T,
typename U>
63 static const int value =
sizeof(T) /
sizeof(U);
81 template<
typename T,
typename U>
104 template<
typename T,
typename U>
114 template<
typename U,
typename T>
120 template<
typename T,
typename U>
__host__ __device__ array< U, detail::aliased_size< T, U >::value > lyse(const T &in)
__host__ __device__ T fuse(const array< U, detail::aliased_size< T, U >::value > &in)
THRUST_STATIC_ASSERT(sizeof(T) % sizeof(U)==0)
__host__ static __device__ result_type impl(const T &t)
array< U, 1 > result_type
array< U, r > result_type
__host__ static __device__ result_type impl(const T &t)
__host__ static __device__ void impl(const array< U, 1 > &d, const T &t)
__host__ static __device__ void impl(const array< U, r > &d, T &t)