Skip to content
Snippets Groups Projects
Commit 1276b9e5 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Deleted getView in Matrix and MatrixView.

parent b4cadcda
No related branches found
No related tags found
1 merge request!48Segments
......@@ -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 );
......
......@@ -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,
......
......@@ -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
......
......@@ -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 >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment