From df97b70e177a96c207b8d5f2941ed5292f0b8b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz> Date: Fri, 8 Mar 2019 23:22:00 +0100 Subject: [PATCH] Added missing __cuda_callable__ attribute --- src/TNL/Matrices/CSR.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/TNL/Matrices/CSR.h b/src/TNL/Matrices/CSR.h index e456456252..10b7184569 100644 --- a/src/TNL/Matrices/CSR.h +++ b/src/TNL/Matrices/CSR.h @@ -82,11 +82,12 @@ public: __cuda_callable__ IndexType getRowLengthFast( const IndexType row ) const; - + IndexType getNonZeroRowLength( const IndexType row ) const; - + + __cuda_callable__ IndexType getNonZeroRowLengthFast( const IndexType row ) const; - + template< typename Real2, typename Device2, typename Index2 > void setLike( const CSR< Real2, Device2, Index2 >& matrix ); -- GitLab