Skip to content

Commit

Permalink
kernel: Fix typo in implementation name
Browse files Browse the repository at this point in the history
The AVX2 kernels in `volk_16ic_x2_dot_prod_16ic` were named incorrectly.
Instead of `_avx2` the function names ended with `_axv2`. This commit
fixes the typo.

However, this does change two function names in files that we install.
This might require us to add a wrapper with the old name that just calls
the new, and correct, name.
  • Loading branch information
jdemel committed Feb 14, 2021
1 parent 340fa8e commit 8c8b3e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernels/volk/volk_16ic_x2_dot_prod_16ic.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ static inline void volk_16ic_x2_dot_prod_16ic_u_sse2(lv_16sc_t* out,
#ifdef LV_HAVE_AVX2
#include <immintrin.h>

static inline void volk_16ic_x2_dot_prod_16ic_u_axv2(lv_16sc_t* out,
static inline void volk_16ic_x2_dot_prod_16ic_u_avx2(lv_16sc_t* out,
const lv_16sc_t* in_a,
const lv_16sc_t* in_b,
unsigned int num_points)
Expand Down Expand Up @@ -386,7 +386,7 @@ static inline void volk_16ic_x2_dot_prod_16ic_u_axv2(lv_16sc_t* out,
#ifdef LV_HAVE_AVX2
#include <immintrin.h>

static inline void volk_16ic_x2_dot_prod_16ic_a_axv2(lv_16sc_t* out,
static inline void volk_16ic_x2_dot_prod_16ic_a_avx2(lv_16sc_t* out,
const lv_16sc_t* in_a,
const lv_16sc_t* in_b,
unsigned int num_points)
Expand Down

0 comments on commit 8c8b3e4

Please sign in to comment.