Skip to content

Commit

Permalink
Merge pull request #719 from argilo/byteswap-16u-orc
Browse files Browse the repository at this point in the history
Add missing volk_16_byteswap_u_orc to puppet
  • Loading branch information
jdemel authored Dec 10, 2023
2 parents d1b1673 + 9ff9986 commit dde2d5a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions kernels/volk/volk_16u_byteswappuppet_16u.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,14 @@ static inline void volk_16u_byteswappuppet_16u_a_avx2(uint16_t* output,
}
#endif

#ifdef LV_HAVE_ORC
static inline void volk_16u_byteswappuppet_16u_u_orc(uint16_t* output,
uint16_t* intsToSwap,
unsigned int num_points)
{
volk_16u_byteswap_u_orc((uint16_t*)intsToSwap, num_points);
memcpy((void*)output, (void*)intsToSwap, num_points * sizeof(uint16_t));
}
#endif /* LV_HAVE_ORC */

#endif

0 comments on commit dde2d5a

Please sign in to comment.