   ConstMatrixDynamic(ConstMatrixMemoryHandler<Type,_rows,_cols>& mem_handler)
   {
     data_ = mem_handler.get();
-    pitch_ = mem_handler.pitch();
   }
 
   __host__ __device__ __forceinline__

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_;
};
