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