Loading src/TNL/Meshes/Mesh.hpp +2 −8 Original line number Diff line number Diff line Loading @@ -318,15 +318,9 @@ 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 ); EntityTagsLayerFamily::print( str ); } } template< typename MeshConfig, typename Device > bool Loading src/UnitTests/Meshes/MeshTest.h +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ void testMeshOnCuda( const Mesh& mesh ) DeviceMesh dmesh2; dmesh2 = mesh; EXPECT_EQ( dmesh2, mesh ); compareStringRepresentation( dmesh2, mesh ); // test CUDA->CUDA copy testCopyAssignment( dmesh1 ); Loading Loading
src/TNL/Meshes/Mesh.hpp +2 −8 Original line number Diff line number Diff line Loading @@ -318,15 +318,9 @@ 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 ); EntityTagsLayerFamily::print( str ); } } template< typename MeshConfig, typename Device > bool Loading
src/UnitTests/Meshes/MeshTest.h +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ void testMeshOnCuda( const Mesh& mesh ) DeviceMesh dmesh2; dmesh2 = mesh; EXPECT_EQ( dmesh2, mesh ); compareStringRepresentation( dmesh2, mesh ); // test CUDA->CUDA copy testCopyAssignment( dmesh1 ); Loading