Commit 1276b9e5 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Deleted getView in Matrix and MatrixView.

parent b4cadcda
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -47,10 +47,6 @@ public:
           const IndexType columns,
           const RealAllocatorType& allocator = RealAllocatorType() );

   /*ViewType getView();

   ConstViewType getConstView() const;*/

   virtual void setDimensions( const IndexType rows,
                               const IndexType columns );

+0 −22
Original line number Diff line number Diff line
@@ -43,28 +43,6 @@ Matrix( const IndexType rows_, const IndexType columns_, const RealAllocatorType
{
}

/*template< typename Real,
          typename Device,
          typename Index,
          typename RealAllocator >
auto
Matrix< Real, Device, Index, RealAllocator >::
getView() -> ViewType
{
   return ViewType( rows, columns, values.getView() );
}

template< typename Real,
          typename Device,
          typename Index,
          typename RealAllocator >
auto
Matrix< Real, Device, Index, RealAllocator >::
getConstView() const -> ConstViewType
{
   return ConstViewType( rows, columns, values.getConstView() );
}*/

template< typename Real,
          typename Device,
          typename Index,
+0 −6
Original line number Diff line number Diff line
@@ -49,12 +49,6 @@ public:
   __cuda_callable__
   MatrixView( const MatrixView& view ) = default;

   //__cuda_callable__
   //ViewType getView();

   //__cuda_callable__
   //ConstViewType getConstView() const;

   virtual IndexType getRowLength( const IndexType row ) const = 0;

   // TODO: implementation is not parallel
+0 −22
Original line number Diff line number Diff line
@@ -42,28 +42,6 @@ MatrixView( const IndexType rows_,
{
}

/*template< typename Real,
          typename Device,
          typename Index >
__cuda_callable__
auto
MatrixView< Real, Device, Index >::
getView() ->ViewType
{
   return ViewType( rows, columns, values.getView() );
}

template< typename Real,
          typename Device,
          typename Index >
__cuda_callable__
auto
MatrixView< Real, Device, Index >::
getConstView() const -> ConstViewType
{
   return ConstViewType( rows, columns, values.getConstView() );
}*/

template< typename Real,
          typename Device,
          typename Index >