24 template<
class T,
size_t N>
35 for (
const T& t : initializerList) {
__host__ __device__ T & operator[](int i)
Definition: gpu_array.hpp:40
#define __host__
Definition: types.hpp:46
size_t size() const
Definition: gpu_array.hpp:48
#define __device__
Definition: types.hpp:45
__host__ __device__ gpu_array(std::initializer_list< T > initializerList)
Definition: gpu_array.hpp:32
Various utility functions to implement the tecno flux.
Definition: types.hpp:30
__host__ __device__ const T & operator[](int i) const
Definition: gpu_array.hpp:44
The gpu_array class is akin to the std::array, only also works for gpus.
Definition: gpu_array.hpp:25
__host__ __device__ gpu_array()
Definition: gpu_array.hpp:28