10 #ifndef vtk_m_exec_internal_FastVec_h
11 #define vtk_m_exec_internal_FastVec_h
30 template <
typename VecType, vtkm::IdComponent MaxSize>
36 explicit VTKM_EXEC FastVec(
const VecType& vec)
47 template <
typename ComponentType, vtkm::IdComponent NumComponents, vtkm::IdComponent MaxSize>
48 class FastVec<
vtkm::
Vec<ComponentType, NumComponents>, MaxSize>
53 explicit VTKM_EXEC FastVec(
const Type& vec)
56 VTKM_ASSERT(vec.GetNumberOfComponents() <= MaxSize);
65 template <
typename ComponentType, vtkm::IdComponent MaxSize1, vtkm::IdComponent MaxSize2>
66 class FastVec<
vtkm::VecVariable<ComponentType, MaxSize1>, MaxSize2>
71 explicit VTKM_EXEC FastVec(
const Type& vec)
74 VTKM_ASSERT(vec.GetNumberOfComponents() <= MaxSize2);
86 #endif // vtk_m_exec_internal_FastVec_h