IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
NbEltsPerPack.h
Go to the documentation of this file.
1 // NbEltsPerPack.h:
3 // --------------
4 //
16 
17 #ifndef __IPSDKUTIL_INSTRUCTIONSET_NBELTSPERPACK_H__
18 #define __IPSDKUTIL_INSTRUCTIONSET_NBELTSPERPACK_H__
19 
22 
23 namespace ipsdk {
24 namespace simd {
25 
28 
33 template <ipsdk::simd::ePackType::domain packType>
35 {
36 };
37 
40 template <>
42 {
43  static const ipInt32 Value=1;
44 };
45 
48 template <>
50 {
51  static const ipInt32 Value=16;
52 };
53 
56 template <>
58 {
59  static const ipInt32 Value=32;
60 };
61 
64 template <>
66 {
67  static const ipInt32 Value = 64;
68 };
69 
72 
73 } // end of namespace simd
74 } // end of namespace ipsdk
75 
76 #endif // __IPSDKUTIL_INSTRUCTIONSET_NBELTSPERPACK_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
packs of avx512 registers (ex.: Packs of __m512)
Definition: PackTypes.h:45
int32_t ipInt32
Base types definition.
Definition: BaseTypes.h:52
ePackType
Enumerate describing a pack type.
Definition: PackTypes.h:35
Definition of import/export macro for library.
packs of scalars
Definition: PackTypes.h:39
packs of avx/avx2 registers (ex.: Packs of __m256i)
Definition: PackTypes.h:43
structure giving the number of elements processed per instruction for the current pack type ...
Definition: NbEltsPerPack.h:34
simd::Pack types
packs of sse/sse2 registers (ex.: Packs of __m128i)
Definition: PackTypes.h:41