IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
sum.h
Go to the documentation of this file.
1 // sum.h:
3 // -----------------
4 //
16 
17 #ifndef __IPSDKUTIL_INSTRUCTIONSET_REDUCTION_SUM_H__
18 #define __IPSDKUTIL_INSTRUCTIONSET_REDUCTION_SUM_H__
19 
24 
25 namespace ipsdk {
26 namespace simd {
27 
30 
35 template <eInstructionSet::domain instructionSet,
36  class PackT>
37 IPSDK_FORCEINLINE
38 typename UpperType<typename PackT::DataType>::Type
39 sum(const PackT& in)
40 {
41  typedef typename PackT::DataType T;
43 }
44 
47 
48 } // end of namespace simd
49 } // end of namespace ipsdk
50 
51 #endif // __IPSDKUTIL_INSTRUCTIONSET_REDUCTION_SUM_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDK_FORCEINLINE UpperType< typename PackT::DataType >::Type sum(const PackT &in)
returns the sum of the elements of a pack
Definition: sum.h:39
template structures used for immediate type promotion
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58
structure SumPack<eInstructionSet::domain instructionSet, typename T, typename Enable=void> ...
Definition: SumPack.h:40
Definition of import/export macro for library.
structure SumPack<eInstructionSet::domain instructionSet, typename T, typename Enable=void> ...