35#ifndef NEKTAR_LIBRARY_COLLECTIONS_MATRIXFREEBASE_H
36#define NEKTAR_LIBRARY_COLLECTIONS_MATRIXFREEBASE_H
50 const unsigned int nCollSize)
55 const auto nElmtNoPad = nCollSize;
58 if (nElmtNoPad % vec_t::width != 0)
62 nElmtNoPad + vec_t::width - (nElmtNoPad % vec_t::width);
MatrixFreeBase(const unsigned int nIn, const unsigned int nOut, const unsigned int nCollSize)
unsigned int m_nIn
actural size of input array
bool m_isPadded
flag for padding
unsigned int m_nElmtPad
size after padding
unsigned int m_nOut
actural size of output array
typename abi< ScalarType, width >::type simd