32 template<
typename T,
int m>
94 template<
typename T,
int m,
int i>
104 template<
typename T,
int m>
116 template<
int i,
typename T,
int m>
122 template<
int i,
typename T,
int m>
151 make_array<T>(a1, a2));
158 make_array<T>(a1, a2, a3));
165 make_array<T>(a1, a2, a3, a4));
173 make_array<T>(a1, a2, a3, a4, a5));
181 make_array<T>(a1, a2, a3, a4, a5,
190 make_array<T>(a1, a2, a3, a4, a5,
197 T a5, T a6, T a7, T a8) {
199 make_array<T>(a1, a2, a3, a4, a5,
206 T a5, T a6, T a7, T a8, T a9) {
208 make_array<T>(a1, a2, a3, a4, a5,
215 template<
typename T,
int s>
237 struct make_array_impl<T, 0> {
247 template<
typename T,
int s>
252 result[0] = ary.
head;
262 result[0] = ary.
head;
268 struct make_carray_impl<T, 0> {
276 template<
typename T,
int s>
282 template<
typename T,
int s>
__host__ __device__ void make_carray(const array< T, s > &ary, T result[s])
__host__ __device__ T & get(array< T, m > &src)
__host__ __device__ array< T, 0 > make_array()
__host__ __device__ array()
__host__ __device__ bool operator!=(const array &other) const
__host__ __device__ array(const array &other)
__host__ __device__ array & operator=(const array &other)
__host__ __device__ array(head_type h)
__host__ __device__ bool operator==(const array &other) const
__host__ __device__ array & operator=(const array &other)
__host__ __device__ bool operator==(const array &other) const
__host__ __device__ array()
array< T, m-1 > tail_type
__host__ __device__ array(head_type h, const tail_type &t)
__host__ __device__ array(const array &other)
__host__ __device__ bool operator!=(const array &other) const
__host__ static __device__ T & impl(array< T, m > &src)
__host__ static __device__ T impl(const array< T, m > &src)
__host__ static __device__ T impl(const array< T, m > &src)
__host__ static __device__ T & impl(array< T, m > &src)
__host__ static __device__ result_type impl(T ary[1])
array< T, 1 > result_type
array< T, s > result_type
__host__ static __device__ result_type impl(T ary[s])
__host__ static __device__ void impl(const array_type &ary, T result[1])
__host__ static __device__ void impl(const array_type &ary, T result[s])