Commit d0fa0322 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Merge branch 'dense-get-format' into 'TO/segments'

Added getFormat for DenseMatrix.

See merge request !126
parents 245668fb 1ac1fd29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -663,7 +663,7 @@ dispatchSymmetric( BenchmarkType& benchmark,
{
   using SymmetricInputMatrix = TNL::Matrices::SparseMatrix< Real, TNL::Devices::Host, int, TNL::Matrices::SymmetricMatrix >;
   using InputMatrix = TNL::Matrices::SparseMatrix< Real, TNL::Devices::Host, int >;
   bool allCpuTests = parameters.getParameter< bool >( "with-all-cpu-tests" );
   //bool allCpuTests = parameters.getParameter< bool >( "with-all-cpu-tests" );
   bool withEllpack = parameters.getParameter< bool >( "with-ellpack-formats" );
   SymmetricInputMatrix symmetricHostMatrix;
   try
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@ template< typename Real,
struct MatrixInfo< DenseMatrixView< Real, Device, Index, Organization > >
{
   static String getDensity() { return String( "dense" ); };

   static String getFormat() { return "Dense"; };
};

template< typename Real,