Commit 54337fd5 authored by Anton Obukhov's avatar Anton Obukhov

[+] CUDA path for NCVImagePyramid

parent 4136855b
......@@ -331,6 +331,7 @@ enum
NCV_HAAR_XML_LOADING_EXCEPTION,
NCV_NOIMPL_HAAR_TILTED_FEATURES,
NCV_NOT_IMPLEMENTED,
NCV_WARNING_HAAR_DETECTIONS_VECTOR_OVERFLOW,
......
......@@ -45,6 +45,15 @@
#include "NCV.hpp"
template <class T>
static void swap(T &p1, T &p2)
{
T tmp = p1;
p1 = p2;
p2 = tmp;
}
template<typename T>
static T divUp(T a, T b)
{
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment