IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
assign.h
Go to the documentation of this file.
1 // assign.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ASSIGN_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_ASSIGN_H__
17 
21 
22 namespace ipsdk {
23 namespace simd {
24 
27 
30 template <eInstructionSet::domain instructionSet, class PackT>
31 IPSDK_FORCEINLINE
32 PackT
33 assign(const typename PackT::DataType& value)
34 {
35  typedef typename PackT::DataType T;
37 }
38 
42 template <eInstructionSet::domain instructionSet, class PackT>
43 IPSDK_FORCEINLINE
44 void
45 assign(PackT& pack, const typename PackT::DataType& value)
46 {
47  typedef typename PackT::DataType T;
49 }
50 
53 
54 } // end of namespace simd
55 } // end of namespace ipsdk
56 
58 
59 #endif // __IPSDKUTIL_INSTRUCTIONSET_ASSIGN_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: AssignPackDecl.h:30
IPSDK_FORCEINLINE PackT assign(const typename PackT::DataType &value)
creates and returns a pack, whose all elements equal a given value
Definition: assign.h:33
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58
Definition of import/export macro for library.