Commit 43533ef1 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Making MatrixView::getValues() __cuda_callable__.

parent 7104d153
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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();

   /**
+2 −0
Original line number Diff line number Diff line
@@ -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()