HomeSort by relevance Sort by last modified time
    Searched full:__host__ (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
gpumat.hpp 66 __host__ GpuMat_(Allocator* allocator = defaultAllocator());
69 __host__ GpuMat_(int arows, int acols, Allocator* allocator = defaultAllocator());
70 __host__ explicit GpuMat_(Size asize, Allocator* allocator = defaultAllocator());
73 __host__ GpuMat_(int arows, int acols, Scalar val, Allocator* allocator = defaultAllocator());
74 __host__ GpuMat_(Size asize, Scalar val, Allocator* allocator = defaultAllocator());
77 __host__ GpuMat_(const GpuMat_& m);
80 __host__ explicit GpuMat_(const GpuMat& m, Allocator* allocator = defaultAllocator());
83 __host__ GpuMat_(int arows, int acols, T* adata, size_t astep = Mat::AUTO_STEP);
84 __host__ GpuMat_(Size asize, T* adata, size_t astep = Mat::AUTO_STEP);
87 __host__ GpuMat_(const GpuMat_& m, Range arowRange, Range acolRange)
    [all...]
traits.hpp 64 __host__ static Ptr2D shrinkPtr(const Ptr2DSz& ptr)
69 __host__ static int getRows(const Ptr2DSz& ptr)
74 __host__ static int getCols(const Ptr2DSz& ptr)
85 __host__ typename PtrTraits<Ptr2DSz>::ptr_type shrinkPtr(const Ptr2DSz& ptr)
91 __host__ int getRows(const Ptr2DSz& ptr)
97 __host__ int getCols(const Ptr2DSz& ptr)
  /external/clang/test/SemaCUDA/
function-target.cu 6 __host__ void h1h(void);
7 __device__ void h1d(void); // expected-note {{candidate function not viable: call to __device__ function from __host__ function}}
8 __host__ __device__ void h1hd(void);
12 __device__ h1ds(); // expected-note {{candidate constructor not viable: call to __device__ function from __host__ function}}
15 __host__ void h1(void) {
23 __host__ void d1h(void); // expected-note {{candidate function not viable: call to __host__ function from __device__ function}}
25 __host__ __device__ void d1hd(void);
function-overload.cu 23 __host__ int hh(void) { return 1; } // expected-note {{previous definition is here}}
27 __host__ int dh(void) { return 2; }
31 __host__ __device__ int hdh(void) { return 5; } // expected-note {{previous definition is here}}
32 __host__ int hdh(void) { return 4; } // expected-error {{redefinition of 'hdh'}}
34 __host__ int hhd(void) { return 4; } // expected-note {{previous definition is here}}
35 __host__ __device__ int hhd(void) { return 5; } // expected-error {{redefinition of 'hhd'}}
39 __host__ __device__ int hdd(void) { return 7; } // expected-note {{previous definition is here}}
43 __host__ __device__ int dhd(void) { return 7; } // expected-error {{redefinition of 'dhd'}}
48 extern "C" __host__ int chh(void) {return 11;} // expected-note {{previous definition is here}}
53 extern "C" __host__ int cdh(void) {return 11;
    [all...]
function-target-hd.cu 17 __host__ void hd1h(void);
19 // expected-note@-2 {{candidate function not viable: call to __host__ function from __host__ __device__ function}}
23 // expected-note@-2 {{candidate function not viable: call to __device__ function from __host__ __device__ function}}
25 __host__ void hd1hg(void);
28 __host__ void hd1hig(void);
30 // expected-note@-2 {{candidate function not viable: call to __host__ function from __host__ __device__ function}}
33 __device__ void hd1dig(void); // expected-note {{candidate function not viable: call to __device__ function from __host__ __device__ function}}
35 __host__ __device__ void hd1hd(void)
    [all...]
implicit-copy.cu 14 // expected-note@-3 2 {{candidate function (the implicit copy assignment operator) not viable: call to __host__ function from __device__ function}}
15 // expected-note@-4 2 {{candidate function (the implicit move assignment operator) not viable: call to __host__ function from __device__ function}}
20 // expected-note@-3 2 {{candidate function (the implicit copy assignment operator) not viable: call to __device__ function from __host__ function}}
21 // expected-note@-4 2 {{candidate function (the implicit move assignment operator) not viable: call to __device__ function from __host__ function}}
  /external/opencv3/modules/cudalegacy/src/cuda/
NCVPixelOperations.hpp 50 template<typename TBase> inline __host__ __device__ TBase _pixMaxVal();
51 template<> inline __host__ __device__ Ncv8u _pixMaxVal<Ncv8u>() {return UCHAR_MAX;}
52 template<> inline __host__ __device__ Ncv16u _pixMaxVal<Ncv16u>() {return USHRT_MAX;}
53 template<> inline __host__ __device__ Ncv32u _pixMaxVal<Ncv32u>() {return UINT_MAX;}
54 template<> inline __host__ __device__ Ncv8s _pixMaxVal<Ncv8s>() {return SCHAR_MAX;}
55 template<> inline __host__ __device__ Ncv16s _pixMaxVal<Ncv16s>() {return SHRT_MAX;}
56 template<> inline __host__ __device__ Ncv32s _pixMaxVal<Ncv32s>() {return INT_MAX;}
57 template<> inline __host__ __device__ Ncv32f _pixMaxVal<Ncv32f>() {return FLT_MAX;}
58 template<> inline __host__ __device__ Ncv64f _pixMaxVal<Ncv64f>() {return DBL_MAX;}
60 template<typename TBase> inline __host__ __device__ TBase _pixMinVal()
    [all...]
  /external/opencv3/modules/core/include/opencv2/core/cuda/
functional.hpp 72 __host__ __device__ __forceinline__ plus() {}
73 __host__ __device__ __forceinline__ plus(const plus&) {}
83 __host__ __device__ __forceinline__ minus() {}
84 __host__ __device__ __forceinline__ minus(const minus&) {}
94 __host__ __device__ __forceinline__ multiplies() {}
95 __host__ __device__ __forceinline__ multiplies(const multiplies&) {}
105 __host__ __device__ __forceinline__ divides() {}
106 __host__ __device__ __forceinline__ divides(const divides&) {}
116 __host__ __device__ __forceinline__ modulus() {}
117 __host__ __device__ __forceinline__ modulus(const modulus&) {
    [all...]
vec_traits.hpp 62 static __host__ __device__ __forceinline__ uchar8 make_uchar8(uchar a0, uchar a1, uchar a2, uchar a3, uchar a4, uchar a5, uchar a6, uchar a7)
71 static __host__ __device__ __forceinline__ char8 make_char8(schar a0, schar a1, schar a2, schar a3, schar a4, schar a5, schar a6, schar a7)
80 static __host__ __device__ __forceinline__ ushort8 make_ushort8(ushort a0, ushort a1, ushort a2, ushort a3, ushort a4, ushort a5, ushort a6, ushort a7)
89 static __host__ __device__ __forceinline__ short8 make_short8(short a0, short a1, short a2, short a3, short a4, short a5, short a6, short a7)
98 static __host__ __device__ __forceinline__ uint8 make_uint8(uint a0, uint a1, uint a2, uint a3, uint a4, uint a5, uint a6, uint a7)
107 static __host__ __device__ __forceinline__ int8 make_int8(int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7)
116 static __host__ __device__ __forceinline__ float8 make_float8(float a0, float a1, float a2, float a3, float a4, float a5, float a6, float a7)
125 static __host__ __device__ __forceinline__ double8 make_double8(double a0, double a1, double a2, double a3, double a4, double a5, double a6, double a7)
173 static __device__ __host__ __forceinline__ type all(type v) {return v;} \
174 static __device__ __host__ __forceinline__ type make(type x) {return x;}
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/detail/
gpumat.hpp 54 __host__ GpuMat_<T>::GpuMat_(Allocator* allocator)
61 __host__ GpuMat_<T>::GpuMat_(int arows, int acols, Allocator* allocator)
67 __host__ GpuMat_<T>::GpuMat_(Size asize, Allocator* allocator)
73 __host__ GpuMat_<T>::GpuMat_(int arows, int acols, Scalar val, Allocator* allocator)
79 __host__ GpuMat_<T>::GpuMat_(Size asize, Scalar val, Allocator* allocator)
85 __host__ GpuMat_<T>::GpuMat_(const GpuMat_& m)
91 __host__ GpuMat_<T>::GpuMat_(const GpuMat& m, Allocator* allocator)
113 __host__ GpuMat_<T>::GpuMat_(int arows, int acols, T* adata, size_t astep)
119 __host__ GpuMat_<T>::GpuMat_(Size asize, T* adata, size_t astep)
125 __host__ GpuMat_<T>::GpuMat_(const GpuMat_& m, Range arowRange, Range acolRange
    [all...]
  /external/clang/test/CodeGenCUDA/Inputs/
cuda.h 8 #define __host__ __attribute__((host)) macro
14 __host__ __device__ dim3(unsigned x, unsigned y = 1, unsigned z = 1) : x(x), y(y), z(z) {}
  /external/clang/test/PCH/Inputs/
cuda.h 8 #define __host__ __attribute__((host)) macro
14 __host__ __device__ dim3(unsigned x, unsigned y = 1, unsigned z = 1) : x(x), y(y), z(z) {}
  /external/clang/test/SemaCUDA/Inputs/
cuda.h 8 #define __host__ __attribute__((host)) macro
14 __host__ __device__ dim3(unsigned x, unsigned y = 1, unsigned z = 1) : x(x), y(y), z(z) {}
  /external/opencv3/modules/cudev/include/opencv2/cudev/expr/
reduction.hpp 69 __host__ void assignTo(GpuMat_<T>& dst, Stream& stream = Stream::Null()) const
76 __host__ Expr<SumExprBody<SrcPtr> >
91 __host__ void assignTo(GpuMat_<T>& dst, Stream& stream = Stream::Null()) const
98 __host__ Expr<FindMinValExprBody<SrcPtr> >
113 __host__ void assignTo(GpuMat_<T>& dst, Stream& stream = Stream::Null()) const
120 __host__ Expr<FindMaxValExprBody<SrcPtr> >
135 __host__ void assignTo(GpuMat_<T>& dst, Stream& stream = Stream::Null()) const
142 __host__ Expr<FindMinMaxValExprBody<SrcPtr> >
157 __host__ void assignTo(GpuMat_<T>& dst, Stream& stream = Stream::Null()) const
164 __host__ Expr<CountNonZeroExprBody<SrcPtr>
    [all...]
binary_op.hpp 68 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, typename PtrTraits<GpuMat_<T> >::ptr_type, functor<T> > > \
74 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, typename PtrTraits<GlobPtrSz<T> >::ptr_type, functor<T> > > \
80 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GlobPtrSz<T> >::ptr_type, typename PtrTraits<GpuMat_<T> >::ptr_type, functor<T> > > \
86 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, typename PtrTraits<Texture<T> >::ptr_type, functor<T> > > \
92 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<Texture<T> >::ptr_type, typename PtrTraits<GpuMat_<T> >::ptr_type, functor<T> > > \
98 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, typename PtrTraits<Body>::ptr_type, functor<typename LargerType<T, typename PtrTraits<Body>::value_type>::type> > > \
104 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<Body>::ptr_type, typename PtrTraits<GpuMat_<T> >::ptr_type, functor<typename LargerType<T, typename PtrTraits<Body>::value_type>::type> > > \
110 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, Binder2nd< functor<T> > > > \
116 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, Binder1st< functor<T> > > > \
122 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GlobPtrSz<T> >::ptr_type, typename PtrTraits<GlobPtrS (…)
    [all...]
warping.hpp 66 __host__ Expr<ResizePtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
75 __host__ Expr<RemapPtr1Sz<typename PtrTraits<SrcPtr>::ptr_type, typename PtrTraits<MapPtr>::ptr_type> >
82 __host__ Expr<RemapPtr2Sz<typename PtrTraits<SrcPtr>::ptr_type, typename PtrTraits<MapXPtr>::ptr_type, typename PtrTraits<MapYPtr>::ptr_type> >
91 __host__ Expr<RemapPtr1Sz<typename PtrTraits<SrcPtr>::ptr_type, AffineMapPtr> >
100 __host__ Expr<RemapPtr1Sz<typename PtrTraits<SrcPtr>::ptr_type, PerspectiveMapPtr> >
113 __host__ void assignTo(GpuMat_<T>& dst, Stream& stream = Stream::Null()) const
120 __host__ Expr<PyrDownBody<SrcPtr> >
135 __host__ void assignTo(GpuMat_<T>& dst, Stream& stream = Stream::Null()) const
142 __host__ Expr<PyrUpBody<SrcPtr> >
157 __host__ void assignTo(GpuMat_<T>& dst, Stream& stream = Stream::Null()) cons
    [all...]
deriv.hpp 62 __host__ Expr<DerivXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
71 __host__ Expr<DerivYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
80 __host__ Expr<SobelXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
89 __host__ Expr<SobelYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
98 __host__ Expr<ScharrXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
107 __host__ Expr<ScharrYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
116 __host__ Expr<LaplacianPtrSz<ksize, typename PtrTraits<SrcPtr>::ptr_type> >
expr.hpp 63 __host__ Expr<Body> makeExpr(const Body& body)
77 __host__ static ptr_type shrinkPtr(const Expr<Body>& expr)
82 __host__ static int getRows(const Expr<Body>& expr)
87 __host__ static int getCols(const Expr<Body>& expr)
per_element_func.hpp 65 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<SrcPtr1>::ptr_type, typename PtrTraits<SrcPtr2>::ptr_type, minimum<typename LargerType<typename PtrTraits<SrcPtr1>::value_type, typename PtrTraits<SrcPtr2>::value_type>::type> > >
72 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<SrcPtr1>::ptr_type, typename PtrTraits<SrcPtr2>::ptr_type, maximum<typename LargerType<typename PtrTraits<SrcPtr1>::value_type, typename PtrTraits<SrcPtr2>::value_type>::type> > >
81 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, ThreshBinaryFunc<typename PtrTraits<SrcPtr>::value_type> > >
88 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, ThreshBinaryInvFunc<typename PtrTraits<SrcPtr>::value_type> > >
95 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, ThreshTruncFunc<typename PtrTraits<SrcPtr>::value_type> > >
102 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, ThreshToZeroFunc<typename PtrTraits<SrcPtr>::value_type> > >
109 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, ThreshToZeroInvFunc<typename PtrTraits<SrcPtr>::value_type> > >
118 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, saturate_cast_func<typename PtrTraits<SrcPtr>::value_type, D> > >
127 __host__ Expr<LutPtrSz<typename PtrTraits<SrcPtr>::ptr_type, typename PtrTraits<TablePtr>::ptr_type> >
  /external/opencv3/modules/cudev/include/opencv2/cudev/util/
vec_traits.hpp 95 __host__ __device__ __forceinline__ static type all(type v) {return v;} \
96 __host__ __device__ __forceinline__ static type make(type x) {return x;} \
97 __host__ __device__ __forceinline__ static type make(const type* v) {return *v;} \
103 __host__ __device__ __forceinline__ static type ## 1 all(type v) {return make_ ## type ## 1(v);} \
104 __host__ __device__ __forceinline__ static type ## 1 make(type x) {return make_ ## type ## 1(x);} \
105 __host__ __device__ __forceinline__ static type ## 1 make(const type* v) {return make_ ## type ## 1(*v);} \
111 __host__ __device__ __forceinline__ static type ## 2 all(type v) {return make_ ## type ## 2(v, v);} \
112 __host__ __device__ __forceinline__ static type ## 2 make(type x, type y) {return make_ ## type ## 2(x, y);} \
113 __host__ __device__ __forceinline__ static type ## 2 make(const type* v) {return make_ ## type ## 2(v[0], v[1]);} \
119 __host__ __device__ __forceinline__ static type ## 3 all(type v) {return make_ ## type ## 3(v, v, v);}
    [all...]
  /external/clang/test/CodeGenCUDA/
host-device-calls-host.cu 10 __host__ __device__ void hd_function_a() {
19 __host__ __device__ void hd_function_b(bool b) { if (b) host_function(); }
function-overload.cu 37 __host__ int dh(void) { return 2; }
41 __host__ __device__ int hd(void) { return 3; }
49 __host__ int h(void) { return 9; }
56 // mangled names of extern "C" __host__ __device__ functions clash
57 // with those of their __host__/__device__ counterparts, so
58 // overloading of extern "C" functions can only happen for __host__
65 extern "C" __host__ int cdh(void) {return 11;}
73 extern "C" __host__ int ch(void) {return 13;}
77 extern "C" __host__ __device__ int chd(void) {return 14;}
81 __host__ void hostf(void)
    [all...]
  /external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
NCVHaarObjectDetection.hpp 84 __host__ NCVStatus setRect(Ncv32u rectX, Ncv32u rectY, Ncv32u rectWidth, Ncv32u rectHeight, Ncv32u /*clsWidth*/, Ncv32u /*clsHeight*/)
94 __host__ NCVStatus setWeight(Ncv32f weight)
100 __device__ __host__ void getRect(Ncv32u *rectX, Ncv32u *rectY, Ncv32u *rectWidth, Ncv32u *rectHeight)
109 __device__ __host__ Ncv32f getWeight(void)
131 __host__ NCVStatus create(NcvBool bTilted, NcvBool bLeftLeaf, NcvBool bRightLeaf,
151 __device__ __host__ NcvBool isTilted(void)
156 __device__ __host__ NcvBool isLeftNodeLeaf(void)
161 __device__ __host__ NcvBool isRightNodeLeaf(void)
166 __device__ __host__ Ncv32u getNumFeatures(void)
171 __device__ __host__ Ncv32u getFeaturesOffset(void
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/
transform.hpp 64 __host__ void gridTransformUnary_(const SrcPtr& src, GpuMat_<DstType>& dst, const UnOp& op, const MaskPtr& mask, Stream& stream = Stream::Null())
77 __host__ void gridTransformUnary_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const UnOp& op, const MaskPtr& mask, Stream& stream = Stream::Null())
89 __host__ void gridTransformUnary_(const SrcPtr& src, GpuMat_<DstType>& dst, const UnOp& op, Stream& stream = Stream::Null())
100 __host__ void gridTransformUnary_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const UnOp& op, Stream& stream = Stream::Null())
111 __host__ void gridTransformBinary_(const SrcPtr1& src1, const SrcPtr2& src2, GpuMat_<DstType>& dst, const BinOp& op, const MaskPtr& mask, Stream& stream = Stream::Null())
125 __host__ void gridTransformBinary_(const SrcPtr1& src1, const SrcPtr2& src2, const GlobPtrSz<DstType>& dst, const BinOp& op, const MaskPtr& mask, Stream& stream = Stream::Null())
138 __host__ void gridTransformBinary_(const SrcPtr1& src1, const SrcPtr2& src2, GpuMat_<DstType>& dst, const BinOp& op, Stream& stream = Stream::Null())
151 __host__ void gridTransformBinary_(const SrcPtr1& src1, const SrcPtr2& src2, const GlobPtrSz<DstType>& dst, const BinOp& op, Stream& stream = Stream::Null())
163 __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>& >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null())
184 __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1> >& dst, cons (…)
    [all...]
reduce.hpp 64 __host__ void gridCalcSum_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null())
86 __host__ void gridCalcSum_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null())
106 __host__ void gridFindMinVal_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null())
124 __host__ void gridFindMinVal_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null())
140 __host__ void gridFindMaxVal_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null())
158 __host__ void gridFindMaxVal_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null())
174 __host__ void gridFindMinMaxVal_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null())
193 __host__ void gridFindMinMaxVal_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null())
210 __host__ void gridMinMaxLoc_(const SrcPtr& src, GpuMat_<ResType>& valBuf, GpuMat_<int>& locBuf, const MaskPtr& mask, Stream& stream = Stream::Null())
231 __host__ void gridMinMaxLoc_(const SrcPtr& src, GpuMat_<ResType>& valBuf, GpuMat_<int>& locBuf, Stream& str (…)
    [all...]

Completed in 712 milliseconds

1 2 3 4 5