Compute Library
 22.05
NDRange< D > Class Template Reference

#include <ndrange.hpp>

Public Member Functions

NDRangeoperator= (const NDRange &rhs)=default
 
 NDRange (const NDRange &rhs)=default
 
template<typename... T>
 NDRange (T... ts)
 
 NDRange (const std::array< unsigned int, D > &n)
 
NDRangeIterator iterator (unsigned int start, unsigned int end) const
 
unsigned int total_size () const
 
unsigned int get_size (unsigned int v) const
 

Detailed Description

template<unsigned int D>
class arm_gemm::NDRange< D >

Definition at line 34 of file ndrange.hpp.

Constructor & Destructor Documentation

◆ NDRange() [1/3]

NDRange ( const NDRange< D > &  rhs)
default

◆ NDRange() [2/3]

NDRange ( T...  ts)
inline

Definition at line 119 of file ndrange.hpp.

120  : m_sizes{ ts... }
121  {
122  set_totalsizes();
123  }

◆ NDRange() [3/3]

NDRange ( const std::array< unsigned int, D > &  n)
inline

Definition at line 125 of file ndrange.hpp.

126  : m_sizes(n)
127  {
128  set_totalsizes();
129  }

Member Function Documentation

◆ get_size()

unsigned int get_size ( unsigned int  v) const
inline

Definition at line 141 of file ndrange.hpp.

Referenced by GemmInterleavedPretransposed2d< strategy, To, Tr >::execute(), NDCoordinate< N >::get_position_end(), and arm_gemm::to_window().

142  {
143  return m_sizes[v];
144  }

◆ iterator()

NDRangeIterator iterator ( unsigned int  start,
unsigned int  end 
) const
inline

◆ operator=()

NDRange& operator= ( const NDRange< D > &  rhs)
default

◆ total_size()


The documentation for this class was generated from the following file: