10 #ifndef vtk_m_cont_internal_ConvertNumComponentsToOffsetsTemplate_h
11 #define vtk_m_cont_internal_ConvertNumComponentsToOffsetsTemplate_h
31 template <
typename NumComponentsArrayType,
typename OffsetsStorage>
32 VTKM_CONT void ConvertNumComponentsToOffsetsTemplate(
33 const NumComponentsArrayType& numComponentsArray,
49 template <
typename NumComponentsArrayType,
typename OffsetsStorage>
50 VTKM_CONT void ConvertNumComponentsToOffsetsTemplate(
51 const NumComponentsArrayType& numComponentsArray,
60 device, vtkm::cont::make_ArrayHandleCast<vtkm::Id>(numComponentsArray), offsetsArray);
63 template <
typename NumComponentsArrayType>
65 const NumComponentsArrayType& numComponentsArray,
72 vtkm::cont::internal::ConvertNumComponentsToOffsetsTemplate(
73 numComponentsArray, offsetsArray, componentsArraySize, device);
77 template <
typename NumComponentsArrayType>
79 const NumComponentsArrayType& numComponentsArray,
85 vtkm::cont::internal::ConvertNumComponentsToOffsetsTemplate(
86 numComponentsArray, offsetsArray, device);
97 #endif // vtk_m_cont_internal_ConvertNumComponentsToOffsetsTemplate_h