Loading src/TNL/Containers/ArrayView.h +0 −9 Original line number Diff line number Diff line Loading @@ -237,15 +237,6 @@ public: typename = std::enable_if_t< std::is_convertible< T, ValueType >::value || IsArrayType< T >::value > > ArrayView& operator=( const T& array ); /** * \brief Makes shallow copy of the array view. * * \param view Reference to the source array view. * \return Reference to this array view. */ __cuda_callable__ ArrayView& copy( const ArrayView& view ); /** * \brief Swaps this array view with another. * Loading src/TNL/Containers/ArrayView.hpp +0 −13 Original line number Diff line number Diff line Loading @@ -118,19 +118,6 @@ operator=( const T& data ) return *this; } template< typename Value, typename Device, typename Index > __cuda_callable__ ArrayView< Value, Device, Index >& ArrayView< Value, Device, Index >:: copy( const ArrayView& view ) { data = view.data; size = view.size; return *this; } template< typename Value, typename Device, typename Index > Loading src/TNL/Containers/Segments/CSRView.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -237,7 +237,7 @@ CSRView< Device, Index >& CSRView< Device, Index >:: operator=( const CSRView& view ) { this->offsets.copy( view.offsets ); this->offsets.bind( view.offsets ); return *this; } Loading src/TNL/Containers/Segments/SlicedEllpackView.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -368,8 +368,8 @@ operator=( const SlicedEllpackView< Device, Index, RowMajorOrder, SliceSize >& v this->size = view.size; this->alignedSize = view.alignedSize; this->segmentsCount = view.segmentsCount; this->sliceOffsets.copy( view.sliceOffsets ); this->sliceSegmentSizes.copy( view.sliceSegmentSizes ); this->sliceOffsets.bind( view.sliceOffsets ); this->sliceSegmentSizes.bind( view.sliceSegmentSizes ); return *this; } Loading src/TNL/Matrices/MatrixView.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ operator=( const MatrixView& view ) { rows = view.rows; columns = view.columns; values.copy( view.values ); values.bind( view.values ); return *this; } Loading Loading
src/TNL/Containers/ArrayView.h +0 −9 Original line number Diff line number Diff line Loading @@ -237,15 +237,6 @@ public: typename = std::enable_if_t< std::is_convertible< T, ValueType >::value || IsArrayType< T >::value > > ArrayView& operator=( const T& array ); /** * \brief Makes shallow copy of the array view. * * \param view Reference to the source array view. * \return Reference to this array view. */ __cuda_callable__ ArrayView& copy( const ArrayView& view ); /** * \brief Swaps this array view with another. * Loading
src/TNL/Containers/ArrayView.hpp +0 −13 Original line number Diff line number Diff line Loading @@ -118,19 +118,6 @@ operator=( const T& data ) return *this; } template< typename Value, typename Device, typename Index > __cuda_callable__ ArrayView< Value, Device, Index >& ArrayView< Value, Device, Index >:: copy( const ArrayView& view ) { data = view.data; size = view.size; return *this; } template< typename Value, typename Device, typename Index > Loading
src/TNL/Containers/Segments/CSRView.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -237,7 +237,7 @@ CSRView< Device, Index >& CSRView< Device, Index >:: operator=( const CSRView& view ) { this->offsets.copy( view.offsets ); this->offsets.bind( view.offsets ); return *this; } Loading
src/TNL/Containers/Segments/SlicedEllpackView.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -368,8 +368,8 @@ operator=( const SlicedEllpackView< Device, Index, RowMajorOrder, SliceSize >& v this->size = view.size; this->alignedSize = view.alignedSize; this->segmentsCount = view.segmentsCount; this->sliceOffsets.copy( view.sliceOffsets ); this->sliceSegmentSizes.copy( view.sliceSegmentSizes ); this->sliceOffsets.bind( view.sliceOffsets ); this->sliceSegmentSizes.bind( view.sliceSegmentSizes ); return *this; } Loading
src/TNL/Matrices/MatrixView.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ operator=( const MatrixView& view ) { rows = view.rows; columns = view.columns; values.copy( view.values ); values.bind( view.values ); return *this; } Loading