   }
 
   inline Type* get() const { return data_;}
-  inline size_t pitch() const { return pitch_;}
 
 private:
   void setupMemory(const Type* src)

protected:
  size_t rows_ = _rows;
  size_t cols_ = _cols;
  size_t pitch_;
  Type* data_;
};


    }
  }

  size_t rows_ = _rows;
  size_t cols_ = _cols;
  MemoryType mem_type_;
  Type* data_;
};
