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

#include <xxamp.h>

Static Public Member Functions

static _T2 func (const _T1 *_Multiplier, const _T2 *_Index) __GPU
 

Member Function Documentation

template<int _Rank, typename _T1 , typename _T2 >
static _T2 Concurrency::details::_Array_flatten_helper< _Rank, _T1, _T2 >::func ( const _T1 *  _Multiplier,
const _T2 *  _Index 
)
inlinestatic
926  {
927  typename _T2 _Offset = _Index[_Rank - 1];
928  for (int _I = 0; _I < (_Rank - 1); _I++)
929  {
930  _Offset += (_Multiplier[_I] * _Index[_I]);
931  }
932  return _Offset;
933  }
_Check_return_opt_ _In_ long _Offset
Definition: io.h:334

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