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

Making MatrixView::getValues() __cuda_callable__.

parent 7104d153
No related branches found
No related tags found
1 merge request!48Segments
......@@ -85,8 +85,10 @@ public:
virtual Real getElement( const IndexType row,
const IndexType column ) const = 0;
__cuda_callable__
const ValuesView& getValues() const;
__cuda_callable__
ValuesView& getValues();
/**
......
......@@ -102,6 +102,7 @@ Index MatrixView< Real, Device, Index >::getColumns() const
template< typename Real,
typename Device,
typename Index >
__cuda_callable__
const typename MatrixView< Real, Device, Index >::ValuesView&
MatrixView< Real, Device, Index >::
getValues() const
......@@ -112,6 +113,7 @@ getValues() const
template< typename Real,
typename Device,
typename Index >
__cuda_callable__
typename MatrixView< Real, Device, Index >::ValuesView&
MatrixView< Real, Device, Index >::
getValues()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment