Commit 2443e7fc authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed formatting in Array and ArrayView

parent 7857b230
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -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 )
{
{
@@ -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
{
{
+4 −2
Original line number Original line Diff line number Diff line
@@ -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
{
{
@@ -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__