#ifndef __OPENCV_GPU_FUNCTIONAL_HPP__\r
#define __OPENCV_GPU_FUNCTIONAL_HPP__\r
\r
-#include <thrust/functional.h>\r
+#include <functional>\r
#include "saturate_cast.hpp"\r
#include "vec_traits.hpp"\r
#include "type_traits.hpp"\r
namespace cv { namespace gpu { namespace device\r
{\r
// Function Objects\r
-\r
- using thrust::unary_function;\r
- using thrust::binary_function;\r
+ template<typename Argument, typename Result> struct unary_function : public std::unary_function<Argument, Result> {};\r
+ template<typename Argument1, typename Argument2, typename Result> struct binary_function : public std::binary_function<Argument1, Argument2, Result> {};\r
\r
// Arithmetic Operations\r
template <typename T> struct plus : binary_function<T, T, T>\r