struct cv::cudev::NormHamming

#include <vec_distance.hpp>

struct NormHamming
{
    // typedefs

    typedef int result_type;
    typedef int value_type;

    // fields

    result_type mySum;

    // methods

    __device__ __forceinline__
    operator result_type() const;

    template <int THREAD_DIM>
    __device__ __forceinline__ void
    reduceBlock(
        result_type* smem,
        uint tid
        );

    __device__ __forceinline__ void
    reduceThread(
        value_type val1,
        value_type val2
        );

    __device__ __forceinline__ void
    reduceWarp(
        result_type* smem,
        uint tid
        );
};