Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT > Struct Template Reference

Public Types

using index_type = IndexT
using IndexType = IndexT
using index_buffer_type = sycl::buffer<index_type, 1>
using IndexBufferType = sycl::buffer<index_type, 1>
using MaskBufferType = sycl::buffer<uint8_t, 1>

Public Member Functions

 StructInfoInternal (std::size_t nrows, std::size_t nnz, std::size_t block_nrows, std::size_t block_nnz, int const *h_kcol, int const *h_cols, int const *h_block_row_offset, int const *h_local_row_size)
IndexBufferType & getBlockRowOffset () const
IndexBufferType & getBlockCols () const
IndexBufferType & getKCol () const
int const * kcol () const
int const * cols () const
int const * dcol () const
void getUpperDiagOffset () const
void computeLowerUpperMask () const
MaskBufferType & getLowerMask () const
MaskBufferType & getUpperMask () const

Public Attributes

std::size_t m_nrows = 0
std::size_t m_nnz = 0
std::size_t m_block_nrows = 0
std::size_t m_block_nnz = 0
std::vector< index_type > m_h_kcol
std::vector< index_type > m_h_cols
std::vector< index_type > m_h_block_cols
IndexBufferType m_block_row_offset
IndexBufferType m_block_cols
IndexBufferType m_kcol
bool m_lower_upper_mask_ready = false
std::vector< index_type > m_h_dcol
std::unique_ptr< MaskBufferType > m_lower_mask
std::unique_ptr< MaskBufferType > m_upper_mask

Static Public Attributes

static const int ellpack_size = EllPackSize

Detailed Description

template<int EllPackSize, typename IndexT>
struct Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >

Definition at line 34 of file SYCLBEllPackInternal.h.

Member Typedef Documentation

◆ index_buffer_type

template<int EllPackSize, typename IndexT>
using Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::index_buffer_type = sycl::buffer<index_type, 1>

Definition at line 40 of file SYCLBEllPackInternal.h.

◆ index_type

template<int EllPackSize, typename IndexT>
using Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::index_type = IndexT

Definition at line 38 of file SYCLBEllPackInternal.h.

◆ IndexBufferType

template<int EllPackSize, typename IndexT>
using Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::IndexBufferType = sycl::buffer<index_type, 1>

Definition at line 41 of file SYCLBEllPackInternal.h.

◆ IndexType

template<int EllPackSize, typename IndexT>
using Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::IndexType = IndexT

Definition at line 39 of file SYCLBEllPackInternal.h.

◆ MaskBufferType

template<int EllPackSize, typename IndexT>
using Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::MaskBufferType = sycl::buffer<uint8_t, 1>

Definition at line 42 of file SYCLBEllPackInternal.h.

Constructor & Destructor Documentation

◆ StructInfoInternal()

template<int EllpackSize, typename IndexT>
Alien::SYCLInternal::StructInfoInternal< EllpackSize, IndexT >::StructInfoInternal ( std::size_t nrows,
std::size_t nnz,
std::size_t block_nrows,
std::size_t block_nnz,
int const * h_kcol,
int const * h_cols,
int const * h_block_row_offset,
int const * h_local_row_size )

Definition at line 128 of file SYCLBEllPackMatrix.cc.

Member Function Documentation

◆ cols()

template<int EllPackSize, typename IndexT>
int const * Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::cols ( ) const
inline

Definition at line 65 of file SYCLBEllPackInternal.h.

◆ computeLowerUpperMask()

template<int EllpackSize, typename IndexT>
void Alien::SYCLInternal::StructInfoInternal< EllpackSize, IndexT >::computeLowerUpperMask ( ) const

Definition at line 273 of file SYCLBEllPackMatrix.cc.

◆ dcol()

template<int EllPackSize, typename IndexT>
int const * Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::dcol ( ) const
inline

Definition at line 70 of file SYCLBEllPackInternal.h.

◆ getBlockCols()

template<int EllPackSize, typename IndexT>
IndexBufferType & Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::getBlockCols ( ) const
inline

Definition at line 56 of file SYCLBEllPackInternal.h.

◆ getBlockRowOffset()

template<int EllPackSize, typename IndexT>
IndexBufferType & Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::getBlockRowOffset ( ) const
inline

Definition at line 54 of file SYCLBEllPackInternal.h.

◆ getKCol()

template<int EllPackSize, typename IndexT>
IndexBufferType & Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::getKCol ( ) const
inline

Definition at line 58 of file SYCLBEllPackInternal.h.

◆ getLowerMask()

template<int EllpackSize, typename IndexT>
SYCLInternal::StructInfoInternal< EllpackSize, IndexT >::MaskBufferType & Alien::SYCLInternal::StructInfoInternal< EllpackSize, IndexT >::getLowerMask ( ) const

Definition at line 356 of file SYCLBEllPackMatrix.cc.

◆ getUpperDiagOffset()

template<int EllpackSize, typename IndexT>
void Alien::SYCLInternal::StructInfoInternal< EllpackSize, IndexT >::getUpperDiagOffset ( ) const

Definition at line 255 of file SYCLBEllPackMatrix.cc.

◆ getUpperMask()

template<int EllpackSize, typename IndexT>
SYCLInternal::StructInfoInternal< EllpackSize, IndexT >::MaskBufferType & Alien::SYCLInternal::StructInfoInternal< EllpackSize, IndexT >::getUpperMask ( ) const

Definition at line 364 of file SYCLBEllPackMatrix.cc.

◆ kcol()

template<int EllPackSize, typename IndexT>
int const * Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::kcol ( ) const
inline

Definition at line 60 of file SYCLBEllPackInternal.h.

Member Data Documentation

◆ ellpack_size

template<int EllPackSize, typename IndexT>
const int Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::ellpack_size = EllPackSize
static

Definition at line 37 of file SYCLBEllPackInternal.h.

◆ m_block_cols

template<int EllPackSize, typename IndexT>
IndexBufferType Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_block_cols
mutable

Definition at line 93 of file SYCLBEllPackInternal.h.

◆ m_block_nnz

template<int EllPackSize, typename IndexT>
std::size_t Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_block_nnz = 0

Definition at line 86 of file SYCLBEllPackInternal.h.

◆ m_block_nrows

template<int EllPackSize, typename IndexT>
std::size_t Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_block_nrows = 0

Definition at line 85 of file SYCLBEllPackInternal.h.

◆ m_block_row_offset

template<int EllPackSize, typename IndexT>
IndexBufferType Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_block_row_offset
mutable

Definition at line 92 of file SYCLBEllPackInternal.h.

◆ m_h_block_cols

template<int EllPackSize, typename IndexT>
std::vector<index_type> Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_h_block_cols

Definition at line 90 of file SYCLBEllPackInternal.h.

◆ m_h_cols

template<int EllPackSize, typename IndexT>
std::vector<index_type> Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_h_cols

Definition at line 89 of file SYCLBEllPackInternal.h.

◆ m_h_dcol

template<int EllPackSize, typename IndexT>
std::vector<index_type> Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_h_dcol
mutable

Definition at line 97 of file SYCLBEllPackInternal.h.

◆ m_h_kcol

template<int EllPackSize, typename IndexT>
std::vector<index_type> Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_h_kcol

Definition at line 88 of file SYCLBEllPackInternal.h.

◆ m_kcol

template<int EllPackSize, typename IndexT>
IndexBufferType Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_kcol
mutable

Definition at line 94 of file SYCLBEllPackInternal.h.

◆ m_lower_mask

template<int EllPackSize, typename IndexT>
std::unique_ptr<MaskBufferType> Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_lower_mask
mutable

Definition at line 98 of file SYCLBEllPackInternal.h.

◆ m_lower_upper_mask_ready

template<int EllPackSize, typename IndexT>
bool Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_lower_upper_mask_ready = false
mutable

Definition at line 96 of file SYCLBEllPackInternal.h.

◆ m_nnz

template<int EllPackSize, typename IndexT>
std::size_t Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_nnz = 0

Definition at line 84 of file SYCLBEllPackInternal.h.

◆ m_nrows

template<int EllPackSize, typename IndexT>
std::size_t Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_nrows = 0

Definition at line 83 of file SYCLBEllPackInternal.h.

◆ m_upper_mask

template<int EllPackSize, typename IndexT>
std::unique_ptr<MaskBufferType> Alien::SYCLInternal::StructInfoInternal< EllPackSize, IndexT >::m_upper_mask
mutable

Definition at line 99 of file SYCLBEllPackInternal.h.


The documentation for this struct was generated from the following files: