Searched refs:mySum (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/cudev/include/opencv2/cudev/block/ |
D | vec_distance.hpp | 66 result_type mySum; member 68 __device__ __forceinline__ NormL1() : mySum(0) {} in NormL1() 72 mySum = __sad(val1, val2, mySum); in reduceThread() 77 warpReduce(smem, mySum, tid, plus<result_type>()); in reduceWarp() 82 blockReduce<THREAD_DIM>(smem, mySum, tid, plus<result_type>()); in reduceBlock() 87 return mySum; in operator result_type() 95 result_type mySum; member 97 __device__ __forceinline__ NormL1() : mySum(0.0f) {} in NormL1() 101 mySum += ::fabsf(val1 - val2); in reduceThread() 106 warpReduce(smem, mySum, tid, plus<result_type>()); in reduceWarp() [all …]
|
/external/opencv3/modules/core/include/opencv2/core/cuda/ |
D | vec_distance.hpp | 63 __device__ __forceinline__ L1Dist() : mySum(0) {} in L1Dist() 67 mySum = __sad(val1, val2, mySum); in reduceIter() 72 reduce<THREAD_DIM>(smem, mySum, tid, plus<int>()); in reduceAll() 77 return mySum; in operator int() 80 int mySum; member 87 __device__ __forceinline__ L1Dist() : mySum(0.0f) {} in L1Dist() 91 mySum += ::fabs(val1 - val2); in reduceIter() 96 reduce<THREAD_DIM>(smem, mySum, tid, plus<float>()); in reduceAll() 101 return mySum; in operator float() 104 float mySum; member [all …]
|