Skip to content
Snippets Groups Projects
Commit 4496b4cb authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Renaming CSRKernelVector to CSRVectorKernel.

parent 8f1fb336
No related branches found
No related tags found
1 merge request!89To/matrices adaptive csr
......@@ -145,7 +145,7 @@ using CSRScalar = CSR< Device, Index, CSRScalarKernel< Index, Device >, IndexAll
template< typename Device,
typename Index,
typename IndexAllocator = typename Allocators::Default< Device >::template Allocator< Index > >
using CSRVector = CSR< Device, Index, CSRKernelVector< Index, Device >, IndexAllocator >;
using CSRVector = CSR< Device, Index, CSRVectorKernel< Index, Device >, IndexAllocator >;
template< typename Device,
typename Index,
......
/***************************************************************************
CSRKernelVector.h - description
CSRVectorKernel.h - description
-------------------
begin : Jan 23, 2021 -> Joe Biden inauguration
copyright : (C) 2021 by Tomas Oberhuber
......@@ -22,12 +22,12 @@ namespace TNL {
template< typename Index,
typename Device >
struct CSRKernelVector
struct CSRVectorKernel
{
using IndexType = Index;
using DeviceType = Device;
using ViewType = CSRKernelVector< Index, Device >;
using ConstViewType = CSRKernelVector< Index, Device >;
using ViewType = CSRVectorKernel< Index, Device >;
using ConstViewType = CSRVectorKernel< Index, Device >;
template< typename Offsets >
void init( const Offsets& offsets );
......@@ -60,4 +60,4 @@ struct CSRKernelVector
} // namespace Algorithms
} // namespace TNL
#include <TNL/Algorithms/Segments/CSRKernelVector.hpp>
#include <TNL/Algorithms/Segments/CSRVectorKernel.hpp>
/***************************************************************************
CSRKernelVector.hpp - description
CSRVectorKernel.hpp - description
-------------------
begin : Jan 23, 2021 -> Joe Biden inauguration
copyright : (C) 2021 by Tomas Oberhuber
......@@ -15,7 +15,7 @@
#include <TNL/Containers/VectorView.h>
#include <TNL/Algorithms/ParallelFor.h>
#include <TNL/Algorithms/Segments/details/LambdaAdapter.h>
#include <TNL/Algorithms/Segments/CSRKernelVector.h>
#include <TNL/Algorithms/Segments/CSRVectorKernel.h>
namespace TNL {
namespace Algorithms {
......@@ -80,7 +80,7 @@ template< typename Index,
typename Device >
template< typename Offsets >
void
CSRKernelVector< Index, Device >::
CSRVectorKernel< Index, Device >::
init( const Offsets& offsets )
{
}
......@@ -88,7 +88,7 @@ init( const Offsets& offsets )
template< typename Index,
typename Device >
void
CSRKernelVector< Index, Device >::
CSRVectorKernel< Index, Device >::
reset()
{
}
......@@ -96,7 +96,7 @@ reset()
template< typename Index,
typename Device >
auto
CSRKernelVector< Index, Device >::
CSRVectorKernel< Index, Device >::
getView() -> ViewType
{
return *this;
......@@ -105,7 +105,7 @@ getView() -> ViewType
template< typename Index,
typename Device >
auto
CSRKernelVector< Index, Device >::
CSRVectorKernel< Index, Device >::
getConstView() const -> ConstViewType
{
return *this;
......@@ -114,7 +114,7 @@ getConstView() const -> ConstViewType
template< typename Index,
typename Device >
TNL::String
CSRKernelVector< Index, Device >::
CSRVectorKernel< Index, Device >::
getKernelType()
{
return "Vector";
......@@ -129,7 +129,7 @@ template< typename Index,
typename Real,
typename... Args >
void
CSRKernelVector< Index, Device >::
CSRVectorKernel< Index, Device >::
segmentsReduction( const OffsetsView& offsets,
Index first,
Index last,
......
......@@ -15,7 +15,7 @@
#include <TNL/Containers/Vector.h>
#include <TNL/Algorithms/Segments/SegmentView.h>
#include <TNL/Algorithms/Segments/CSRScalarKernel.h>
#include <TNL/Algorithms/Segments/CSRKernelVector.h>
#include <TNL/Algorithms/Segments/CSRVectorKernel.h>
#include <TNL/Algorithms/Segments/CSRKernelHybrid.h>
#include <TNL/Algorithms/Segments/CSRKernelAdaptive.h>
......@@ -138,7 +138,7 @@ using CSRViewScalar = CSRView< Device, Index, CSRScalarKernel< Index, Device > >
template< typename Device,
typename Index >
using CSRViewVector = CSRView< Device, Index, CSRKernelVector< Index, Device > >;
using CSRViewVector = CSRView< Device, Index, CSRVectorKernel< Index, Device > >;
template< typename Device,
typename Index >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment