Commit cd398c0f authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Jakub Klinkovský
Browse files

Trying different setup of CSR Hybrid kernel and fixing description in unint...

Trying different setup of CSR Hybrid kernel and fixing description in unint test of CSR Hybrid sparse matrix.
parent a34cb111
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -22,13 +22,13 @@ namespace TNL {

template< typename Index,
          typename Device,
          int ThreadsInBlock = 256 >
          int ThreadsInBlock = 128 >
struct CSRHybridKernel
{
   using IndexType = Index;
   using DeviceType = Device;
   using ViewType = CSRHybridKernel< Index, Device >;
   using ConstViewType = CSRHybridKernel< Index, Device >;
   using ViewType = CSRHybridKernel< Index, Device, ThreadsInBlock >;
   using ConstViewType = CSRHybridKernel< Index, Device, ThreadsInBlock >;

   template< typename Offsets >
   void init( const Offsets& offsets );
+1 −1
Original line number Diff line number Diff line
@@ -209,7 +209,7 @@ TNL::String
CSRHybridKernel< Index, Device, ThreadsInBlock >::
getKernelType()
{
    return "Hybrid";
    return "Hybrid " + TNL::convertToString( ThreadsInBlock );
}

template< typename Index,
+2 −2
Original line number Diff line number Diff line
/***************************************************************************
                          SparseMatrixVectorProductTest_CSRHybrid.cpp -  description
                          SparseMatrixTest_CSRHybrid.cpp -  description
                             -------------------
    begin                : Jan 23, 2021
    copyright            : (C) 2021 by Tomas Oberhuber et al.
@@ -8,4 +8,4 @@

/* See Copyright Notice in tnl/Copyright */

#include "SparseMatrixVectorProductTest_CSRHybrid.h"
#include "SparseMatrixTest_CSRHybrid.h"