deleted thrust header
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
#ifndef __OPENCV_GPU_FUNCTIONAL_HPP__
|
#ifndef __OPENCV_GPU_FUNCTIONAL_HPP__
|
||||||
#define __OPENCV_GPU_FUNCTIONAL_HPP__
|
#define __OPENCV_GPU_FUNCTIONAL_HPP__
|
||||||
|
|
||||||
#include <thrust/functional.h>
|
#include <functional>
|
||||||
#include "saturate_cast.hpp"
|
#include "saturate_cast.hpp"
|
||||||
#include "vec_traits.hpp"
|
#include "vec_traits.hpp"
|
||||||
#include "type_traits.hpp"
|
#include "type_traits.hpp"
|
||||||
@@ -52,9 +52,8 @@
|
|||||||
namespace cv { namespace gpu { namespace device
|
namespace cv { namespace gpu { namespace device
|
||||||
{
|
{
|
||||||
// Function Objects
|
// Function Objects
|
||||||
|
template<typename Argument, typename Result> struct unary_function : public std::unary_function<Argument, Result> {};
|
||||||
using thrust::unary_function;
|
template<typename Argument1, typename Argument2, typename Result> struct binary_function : public std::binary_function<Argument1, Argument2, Result> {};
|
||||||
using thrust::binary_function;
|
|
||||||
|
|
||||||
// Arithmetic Operations
|
// Arithmetic Operations
|
||||||
template <typename T> struct plus : binary_function<T, T, T>
|
template <typename T> struct plus : binary_function<T, T, T>
|
||||||
|
Reference in New Issue
Block a user