                      cudaTextureReadMode read_mode = cudaReadModeElementType)
     : Texture()
   {
-//    width = size.width();
-//    height = size.height();
-//    this->normalized_coords = _normalized_coords;
-
     cudaResourceDesc tex_res;
     std::memset(&tex_res, 0, sizeof(tex_res));
     tex_res.resType = cudaResourceTypePitch2D;

struct Texture
{
  cudaTextureObject_t tex_object;
//  bool normalized_coords;

  __host__ Texture() = default;
  __host__ virtual ~Texture() = default;

 */
struct Texture2D : Texture
{
  __host__ Texture2D(void* data, size_type pitch,
                     cudaChannelFormatDesc channel_desc,
                     imp::Size2u size,
