template struct cv::cudev::VecTraits<float2>
#include <vec_traits.hpp> template <> struct VecTraits<float2> { // typedefs typedef float elem_type; // enums enum { cn =2, }; // methods static __host__ __device__ static __forceinline__ float2 all(float v); static __host__ __device__ static __forceinline__ float2 make(const float* v); static __host__ __device__ static __forceinline__ float2 make( float x, float y ); };