Commit 0af3a934 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Devices: replaced getDeviceType() with getType()

parent 8f13ec0b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ public:
   {
      return "Atomic< " +
             TNL::getType< T >() + ", " +
             Devices::Host::getDeviceType() + " >";
             Devices::Host::getType() + " >";
   }

   // CAS loops for updating maximum and minimum
@@ -125,7 +125,7 @@ public:
   {
      return "Atomic< " +
             TNL::getType< T >() + ", " +
             Devices::Cuda::getDeviceType() + " >";
             Devices::Cuda::getType() + " >";
   }

   bool is_lock_free() const noexcept
+2 −2
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ struct ArrayIO< Value, Device, Index, true >
   {
      return String( "Containers::Array< " ) +
             TNL::getType< Value >() + ", " +
             Devices::Host::getDeviceType() + ", " +
             Devices::Host::getType() + ", " +
             TNL::getType< Index >() + " >";
   }

@@ -81,7 +81,7 @@ struct ArrayIO< Value, Device, Index, false >
   {
      return String( "Containers::Array< " ) +
             TNL::getType< Value >() + ", " +
             Devices::Host::getDeviceType() + ", " +
             Devices::Host::getType() + ", " +
             TNL::getType< Index >() + " >";
   }

+1 −1
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ getType()
{
   return String( "Containers::Array< " ) +
          TNL::getType< Value >() + ", " +
          Device::getDeviceType() + ", " +
          Device::getType() + ", " +
          TNL::getType< Index >() + " >";
}

+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ getType()
{
   return String( "Containers::ArrayView< " ) + ", " +
                  TNL::getType< Value >() + ", " +
                  Device::getDeviceType() + ", " +
                  Device::getType() + ", " +
                  TNL::getType< Index >() + " >";
}

+1 −1
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@ getType()
{
   return String( "Containers::DistributedArray< " ) +
          TNL::getType< Value >() + ", " +
          Device::getDeviceType() + ", " +
          Device::getType() + ", " +
          TNL::getType< Index >() + ", " +
          // TODO: communicators don't have a getType method
          "<Communicator> >";
Loading