IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
CopyImpl.h
Go to the documentation of this file.
1 // CopyImpl.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_COPYIMPL_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_COPYIMPL_H__
17 
20 
21 namespace ipsdk {
22 namespace simd {
23 namespace detail {
24 
27 
28 template <typename T>
30  static IPSDK_FORCEINLINE
31  void act(T* dest, const T* src, ipUInt64 nbElts)
32  {
33  memcpy(reinterpret_cast<void*>(dest), reinterpret_cast<const void*>(src),
34  nbElts*sizeof(T));
35  }
36 };
37 
40 
41 } // end of namespace detail
42 } // end of namespace simd
43 } // end of namespace ipsdk
44 
45 #endif // __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_COPYIMPL_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
Definition: CopyImpl.h:29
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Definition of import/export macro for library.
compiler optimisations only
Definition: InstructionSetTypes.h:34