HomeSort by relevance Sort by last modified time
    Searched refs:__device__ (Results 1 - 25 of 153) sorted by null

1 2 3 4 5 6 7

  /external/opencv3/modules/core/include/opencv2/core/cuda/
limits.hpp 62 __device__ __forceinline__ static bool min() { return false; }
63 __device__ __forceinline__ static bool max() { return true; }
69 __device__ __forceinline__ static signed char min() { return SCHAR_MIN; }
70 __device__ __forceinline__ static signed char max() { return SCHAR_MAX; }
76 __device__ __forceinline__ static unsigned char min() { return 0; }
77 __device__ __forceinline__ static unsigned char max() { return UCHAR_MAX; }
83 __device__ __forceinline__ static short min() { return SHRT_MIN; }
84 __device__ __forceinline__ static short max() { return SHRT_MAX; }
90 __device__ __forceinline__ static unsigned short min() { return 0; }
91 __device__ __forceinline__ static unsigned short max() { return USHRT_MAX;
    [all...]
dynamic_smem.hpp 56 __device__ __forceinline__ operator T*()
62 __device__ __forceinline__ operator const T*() const
72 __device__ __forceinline__ operator double*()
78 __device__ __forceinline__ operator const double*() const
saturate_cast.hpp 56 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(uchar v) { return _Tp(v); }
57 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(schar v) { return _Tp(v); }
58 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(ushort v) { return _Tp(v); }
59 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(short v) { return _Tp(v); }
60 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(uint v) { return _Tp(v); }
61 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(int v) { return _Tp(v); }
62 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(float v) { return _Tp(v); }
63 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(double v) { return _Tp(v); }
65 template<> __device__ __forceinline__ uchar saturate_cast<uchar>(schar v)
72 template<> __device__ __forceinline__ uchar saturate_cast<uchar>(short v
    [all...]
functional.hpp 67 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::ParameterType a,
72 __host__ __device__ __forceinline__ plus() {}
73 __host__ __device__ __forceinline__ plus(const plus&) {}
78 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::ParameterType a,
83 __host__ __device__ __forceinline__ minus() {}
84 __host__ __device__ __forceinline__ minus(const minus&) {}
89 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::ParameterType a,
94 __host__ __device__ __forceinline__ multiplies() {}
95 __host__ __device__ __forceinline__ multiplies(const multiplies&) {}
100 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::ParameterType a
    [all...]
utility.hpp 65 template <typename T> void __device__ __host__ __forceinline__ swap(T& a, T& b)
77 explicit __host__ __device__ __forceinline__ SingleMask(PtrStepb mask_) : mask(mask_) {}
78 __host__ __device__ __forceinline__ SingleMask(const SingleMask& mask_): mask(mask_.mask){}
80 __device__ __forceinline__ bool operator()(int y, int x) const
90 __host__ __device__ __forceinline__ SingleMaskChannels(PtrStepb mask_, int channels_)
92 __host__ __device__ __forceinline__ SingleMaskChannels(const SingleMaskChannels& mask_)
95 __device__ __forceinline__ bool operator()(int y, int x) const
106 explicit __host__ __device__ __forceinline__ MaskCollection(PtrStepb* maskCollection_)
109 __device__ __forceinline__ MaskCollection(const MaskCollection& masks_)
112 __device__ __forceinline__ void next(
    [all...]
border_interpolate.hpp 65 explicit __host__ __device__ __forceinline__ BrdRowConstant(int width_, const D& val_ = VecTraits<D>::all(0)) : width(width_), val(val_) {}
67 template <typename T> __device__ __forceinline__ D at_low(int x, const T* data) const
72 template <typename T> __device__ __forceinline__ D at_high(int x, const T* data) const
77 template <typename T> __device__ __forceinline__ D at(int x, const T* data) const
90 explicit __host__ __device__ __forceinline__ BrdColConstant(int height_, const D& val_ = VecTraits<D>::all(0)) : height(height_), val(val_) {}
92 template <typename T> __device__ __forceinline__ D at_low(int y, const T* data, size_t step) const
97 template <typename T> __device__ __forceinline__ D at_high(int y, const T* data, size_t step) const
102 template <typename T> __device__ __forceinline__ D at(int y, const T* data, size_t step) const
115 __host__ __device__ __forceinline__ BrdConstant(int height_, int width_, const D& val_ = VecTraits<D>::all(0)) : height(height_), width(width_), val(val_)
119 template <typename T> __device__ __forceinline__ D at(int y, int x, const T* data, size_t step) cons
    [all...]
vec_distance.hpp 63 __device__ __forceinline__ L1Dist() : mySum(0) {}
65 __device__ __forceinline__ void reduceIter(int val1, int val2)
70 template <int THREAD_DIM> __device__ __forceinline__ void reduceAll(int* smem, int tid)
75 __device__ __forceinline__ operator int() const
87 __device__ __forceinline__ L1Dist() : mySum(0.0f) {}
89 __device__ __forceinline__ void reduceIter(float val1, float val2)
94 template <int THREAD_DIM> __device__ __forceinline__ void reduceAll(float* smem, int tid)
99 __device__ __forceinline__ operator float() const
112 __device__ __forceinline__ L2Dist() : mySum(0.0f) {}
114 __device__ __forceinline__ void reduceIter(float val1, float val2
    [all...]
warp_shuffle.hpp 55 __device__ __forceinline__ T shfl(T val, int srcLane, int width = warpSize)
63 __device__ __forceinline__ unsigned int shfl(unsigned int val, int srcLane, int width = warpSize)
71 __device__ __forceinline__ double shfl(double val, int srcLane, int width = warpSize)
87 __device__ __forceinline__ T shfl_down(T val, unsigned int delta, int width = warpSize)
95 __device__ __forceinline__ unsigned int shfl_down(unsigned int val, unsigned int delta, int width = warpSize)
103 __device__ __forceinline__ double shfl_down(double val, unsigned int delta, int width = warpSize)
119 __device__ __forceinline__ T shfl_up(T val, unsigned int delta, int width = warpSize)
127 __device__ __forceinline__ unsigned int shfl_up(unsigned int val, unsigned int delta, int width = warpSize)
135 __device__ __forceinline__ double shfl_up(double val, unsigned int delta, int width = warpSize)
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/util/
limits.hpp 62 __device__ __forceinline__ static bool min() { return false; }
63 __device__ __forceinline__ static bool max() { return true; }
69 __device__ __forceinline__ static schar min() { return SCHAR_MIN; }
70 __device__ __forceinline__ static schar max() { return SCHAR_MAX; }
76 __device__ __forceinline__ static uchar min() { return 0; }
77 __device__ __forceinline__ static uchar max() { return UCHAR_MAX; }
83 __device__ __forceinline__ static short min() { return SHRT_MIN; }
84 __device__ __forceinline__ static short max() { return SHRT_MAX; }
90 __device__ __forceinline__ static ushort min() { return 0; }
91 __device__ __forceinline__ static ushort max() { return USHRT_MAX;
    [all...]
saturate_cast.hpp 56 template <typename T> __device__ __forceinline__ T saturate_cast(uchar v) { return T(v); }
57 template <typename T> __device__ __forceinline__ T saturate_cast(schar v) { return T(v); }
58 template <typename T> __device__ __forceinline__ T saturate_cast(ushort v) { return T(v); }
59 template <typename T> __device__ __forceinline__ T saturate_cast(short v) { return T(v); }
60 template <typename T> __device__ __forceinline__ T saturate_cast(uint v) { return T(v); }
61 template <typename T> __device__ __forceinline__ T saturate_cast(int v) { return T(v); }
62 template <typename T> __device__ __forceinline__ T saturate_cast(float v) { return T(v); }
63 template <typename T> __device__ __forceinline__ T saturate_cast(double v) { return T(v); }
65 template <> __device__ __forceinline__ uchar saturate_cast<uchar>(schar v)
72 template <> __device__ __forceinline__ uchar saturate_cast<uchar>(short v
    [all...]
atomic.hpp 58 __device__ __forceinline__ int atomicAdd(int* address, int val)
63 __device__ __forceinline__ uint atomicAdd(uint* address, uint val)
68 __device__ __forceinline__ float atomicAdd(float* address, float val)
84 __device__ static double atomicAdd(double* address, double val)
104 __device__ __forceinline__ int atomicMin(int* address, int val)
109 __device__ __forceinline__ uint atomicMin(uint* address, uint val)
114 __device__ static float atomicMin(float* address, float val)
132 __device__ static double atomicMin(double* address, double val)
152 __device__ __forceinline__ int atomicMax(int* address, int val)
157 __device__ __forceinline__ uint atomicMax(uint* address, uint val
    [all...]
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/opencv3/modules/cudev/include/opencv2/cudev/block/
dynamic_smem.hpp 58 __device__ __forceinline__ operator T*()
64 __device__ __forceinline__ operator const T*() const
74 __device__ __forceinline__ operator double*()
80 __device__ __forceinline__ operator const double*() const
vec_distance.hpp 68 __device__ __forceinline__ NormL1() : mySum(0) {}
70 __device__ __forceinline__ void reduceThread(value_type val1, value_type val2)
75 __device__ __forceinline__ void reduceWarp(result_type* smem, uint tid)
80 template <int THREAD_DIM> __device__ __forceinline__ void reduceBlock(result_type* smem, uint tid)
85 __device__ __forceinline__ operator result_type() const
97 __device__ __forceinline__ NormL1() : mySum(0.0f) {}
99 __device__ __forceinline__ void reduceThread(value_type val1, value_type val2)
104 __device__ __forceinline__ void reduceWarp(result_type* smem, uint tid)
109 template <int THREAD_DIM> __device__ __forceinline__ void reduceBlock(result_type* smem, uint tid)
114 __device__ __forceinline__ operator result_type() cons
    [all...]
block.hpp 58 __device__ __forceinline__ static uint blockId()
63 __device__ __forceinline__ static uint blockSize()
68 __device__ __forceinline__ static uint threadLineId()
75 __device__ __forceinline__ static void blockFill(It beg, It end, const T& value)
85 __device__ __forceinline__ static void blockYota(OutIt beg, OutIt end, T value)
96 __device__ __forceinline__ static void blockCopy(InIt beg, InIt end, OutIt out)
107 __device__ __forceinline__ static void blockTransfrom(InIt beg, InIt end, OutIt out, const UnOp& op)
118 __device__ __forceinline__ static void blockTransfrom(InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, const BinOp& op)
  /external/clang/test/CodeGen/
builtins-nvptx.c 5 #define __device__ __attribute__((device)) macro
10 __device__ int read_tid() {
26 __device__ int read_ntid() {
42 __device__ int read_ctaid() {
58 __device__ int read_nctaid() {
74 __device__ int read_ids() {
94 __device__ int read_lanemasks() {
112 __device__ long long read_clocks() {
123 __device__ int read_pms() {
139 __device__ void sync()
    [all...]
  /external/opencv3/modules/cudalegacy/src/cuda/
fgd.hpp 54 __device__ float& Pbc(int i, int j);
55 __device__ float& Pbcc(int i, int j);
57 __device__ unsigned char& is_trained_st_model(int i, int j);
58 __device__ unsigned char& is_trained_dyn_model(int i, int j);
60 __device__ float& PV_C(int i, int j, int k);
61 __device__ float& PVB_C(int i, int j, int k);
62 template <typename T> __device__ T& V_C(int i, int j, int k);
64 __device__ float& PV_CC(int i, int j, int k);
65 __device__ float& PVB_CC(int i, int j, int k);
66 template <typename T> __device__ T& V1_CC(int i, int j, int k)
    [all...]
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/cudev/include/opencv2/cudev/functional/
functional.hpp 79 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type a,
88 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type a,
97 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type a,
106 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type a,
115 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type a,
124 __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type a) const
134 __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
144 __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
154 __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
164 __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::typ
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/warp/
shuffle.hpp 61 __device__ __forceinline__ uchar shfl(uchar val, int srcLane, int width = warpSize)
66 __device__ __forceinline__ schar shfl(schar val, int srcLane, int width = warpSize)
71 __device__ __forceinline__ ushort shfl(ushort val, int srcLane, int width = warpSize)
76 __device__ __forceinline__ short shfl(short val, int srcLane, int width = warpSize)
81 __device__ __forceinline__ int shfl(int val, int srcLane, int width = warpSize)
86 __device__ __forceinline__ uint shfl(uint val, int srcLane, int width = warpSize)
91 __device__ __forceinline__ float shfl(float val, int srcLane, int width = warpSize)
96 __device__ double shfl(double val, int srcLane, int width = warpSize)
108 __device__ __forceinline__ input_type ## 1 shfl(const input_type ## 1 & val, int srcLane, int width = warpSize) \
114 __device__ __forceinline__ input_type ## 2 shfl(const input_type ## 2 & val, int srcLane, int width = warpSiz (…)
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
glob.hpp 72 __device__ __forceinline__ T* row(int y) { return ( T*)( ( uchar*)data + y * step); }
73 __device__ __forceinline__ const T* row(int y) const { return (const T*)( (const uchar*)data + y * step); }
75 __device__ __forceinline__ T& operator ()(int y, int x) { return row(y)[x]; }
76 __device__ __forceinline__ const T& operator ()(int y, int x) const { return row(y)[x]; }
91 __host__ __device__ GlobPtr<T> globPtr(T* data, size_t step)
100 __host__ __device__ GlobPtrSz<T> globPtr(T* data, size_t step, int rows, int cols)
  /external/clang/test/CodeGenCUDA/Inputs/
cuda.h 6 #define __device__ __attribute__((device)) 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 6 #define __device__ __attribute__((device)) 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 6 #define __device__ __attribute__((device)) macro
14 __host__ __device__ dim3(unsigned x, unsigned y = 1, unsigned z = 1) : x(x), y(y), z(z) {}

Completed in 400 milliseconds

1 2 3 4 5 6 7