Home | History | Annotate | Download | only in cuda

Lines Matching refs:ScalarType

59     template <typename SrcType, typename ScalarType, typename DstType> struct SubScalarOp : unary_function<SrcType, DstType>
61 ScalarType val;
65 return saturate_cast<DstType>(saturate_cast<ScalarType>(a) - val);
69 template <typename SrcType, typename ScalarType, typename DstType> struct SubScalarOpInv : unary_function<SrcType, DstType>
71 ScalarType val;
75 return saturate_cast<DstType>(val - saturate_cast<ScalarType>(a));
92 typedef typename MakeVec<ScalarDepth, VecTraits<SrcType>::cn>::type ScalarType;
98 SubScalarOpInv<SrcType, ScalarType, DstType> op;
99 op.val = VecTraits<ScalarType>::make(value_.val);
108 SubScalarOp<SrcType, ScalarType, DstType> op;
109 op.val = VecTraits<ScalarType>::make(value_.val);