STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
Concurrency::details::_Array_init_helper< _T1, _T2, _Rank > Struct Template Reference

#include <xxamp.h>

Static Public Member Functions

static void func (unsigned int &_Total_extent, _T1 &_Multiplier, const _T2 &_Extent) __GPU
 

Member Function Documentation

template<typename _T1 , typename _T2 , int _Rank>
static void Concurrency::details::_Array_init_helper< _T1, _T2, _Rank >::func ( unsigned int _Total_extent,
_T1 &  _Multiplier,
const _T2 &  _Extent 
)
inlinestatic
881  {
882  _Multiplier[_Rank-2] = _Total_extent;
883  for (int i = _Rank-2; i >= 1; --i) {
884  _Total_extent *= _Extent[i];
885  _Multiplier[i-1] = _Total_extent;
886  }
887  _Total_extent *= _Extent[0];
888  }
int i[4]
Definition: dvec.h:70

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