template struct cv::cudev::Log2

#include <type_traits.hpp>

template <
    int N,
    int CURRENT_VAL = N,
    int COUNT = 0
    >
struct Log2
{
    // enums

    enum
    {
        value = Log2<N, (CURRENT_VAL>> 1), COUNT + 1>::VALUE,
    };
};