Commit c0ecfe3d authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Disabled Mesh::print method on CUDA

parent 765c15da
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -207,8 +207,14 @@ void
Mesh< MeshConfig, Device >::
print( std::ostream& str ) const
{
   // FIXME: there is a problem with multimaps and accessors holding pointers into the device memory
   if( std::is_same< Device, Devices::Cuda >::value ) {
      str << "Textual representation of meshes stored on the CUDA device is not supported." << std::endl;
   }
   else {
      StorageBaseType::print( str );
   }
}

template< typename MeshConfig, typename Device >
bool
+1 −1
Original line number Diff line number Diff line
@@ -471,7 +471,7 @@ public:
   {
      str << "The mesh vertices are: " << std::endl;
      for( GlobalIndexType i = 0; i < vertices.getSize(); i++ )
         str << i << vertices[ i ] << std::endl;
         str << i << " " << vertices[ i ] << std::endl;
      SuperentityStorageBaseType::print( str );
      BoundaryTagsBaseType::print( str );
      str << std::endl;