Loading src/TNL/Containers/Array.hpp +4 −2 Original line number Original line Diff line number Diff line Loading @@ -493,7 +493,8 @@ template< typename Value, typename Device, typename Device, typename Index, typename Index, typename Allocator > typename Allocator > __cuda_callable__ void __cuda_callable__ void Array< Value, Device, Index, Allocator >:: Array< Value, Device, Index, Allocator >:: setElement( IndexType i, ValueType x ) setElement( IndexType i, ValueType x ) { { Loading @@ -506,7 +507,8 @@ template< typename Value, typename Device, typename Device, typename Index, typename Index, typename Allocator > typename Allocator > __cuda_callable__ Value __cuda_callable__ Value Array< Value, Device, Index, Allocator >:: Array< Value, Device, Index, Allocator >:: getElement( IndexType i ) const getElement( IndexType i ) const { { Loading src/TNL/Containers/ArrayView.hpp +4 −2 Original line number Original line Diff line number Diff line Loading @@ -227,7 +227,8 @@ setElement( IndexType i, ValueType value ) template< typename Value, template< typename Value, typename Device, typename Device, typename Index > typename Index > __cuda_callable__ Value __cuda_callable__ Value ArrayView< Value, Device, Index >:: ArrayView< Value, Device, Index >:: getElement( IndexType i ) const getElement( IndexType i ) const { { Loading @@ -240,7 +241,8 @@ template< typename Value, typename Device, typename Device, typename Index > typename Index > __cuda_callable__ __cuda_callable__ Value& ArrayView< Value, Device, Index >:: Value& ArrayView< Value, Device, Index >:: operator[]( IndexType i ) operator[]( IndexType i ) { { #ifdef __CUDA_ARCH__ #ifdef __CUDA_ARCH__ Loading Loading
src/TNL/Containers/Array.hpp +4 −2 Original line number Original line Diff line number Diff line Loading @@ -493,7 +493,8 @@ template< typename Value, typename Device, typename Device, typename Index, typename Index, typename Allocator > typename Allocator > __cuda_callable__ void __cuda_callable__ void Array< Value, Device, Index, Allocator >:: Array< Value, Device, Index, Allocator >:: setElement( IndexType i, ValueType x ) setElement( IndexType i, ValueType x ) { { Loading @@ -506,7 +507,8 @@ template< typename Value, typename Device, typename Device, typename Index, typename Index, typename Allocator > typename Allocator > __cuda_callable__ Value __cuda_callable__ Value Array< Value, Device, Index, Allocator >:: Array< Value, Device, Index, Allocator >:: getElement( IndexType i ) const getElement( IndexType i ) const { { Loading
src/TNL/Containers/ArrayView.hpp +4 −2 Original line number Original line Diff line number Diff line Loading @@ -227,7 +227,8 @@ setElement( IndexType i, ValueType value ) template< typename Value, template< typename Value, typename Device, typename Device, typename Index > typename Index > __cuda_callable__ Value __cuda_callable__ Value ArrayView< Value, Device, Index >:: ArrayView< Value, Device, Index >:: getElement( IndexType i ) const getElement( IndexType i ) const { { Loading @@ -240,7 +241,8 @@ template< typename Value, typename Device, typename Device, typename Index > typename Index > __cuda_callable__ __cuda_callable__ Value& ArrayView< Value, Device, Index >:: Value& ArrayView< Value, Device, Index >:: operator[]( IndexType i ) operator[]( IndexType i ) { { #ifdef __CUDA_ARCH__ #ifdef __CUDA_ARCH__ Loading