You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In https://github.com/tomojitakasu/PocketSDR/blob/master/src/sdr_func.c the dot_IQ_code function (called by corr_std) contains some NEON/AVX2 optimised code but it does not seems to do anything are the non optimised code is executed anyway at the end of the function. I would have expected a #else
The performance metics obtained via test/sdr_func_test.py are also unaffected by the activation or not of the neon optimisation.
// inner product of IQ data and code -------------------------------------------
static void dot_IQ_code(const sdr_cpx16_t *IQ, const sdr_cpx16_t *code, int N,
float s, sdr_cpx_t *c)
{
int i = 0;
(*c)[0] = (*c)[1] = 0.0f;
#if defined(AVX2)
...
#elif defined(NEON)
...
#endif
for ( ; i < N; i++) {
(*c)[0] += IQ[i].I * code[i].I;
(*c)[1] += IQ[i].Q * code[i].Q;
}
(*c)[0] *= s * SDR_CSCALE;
(*c)[1] *= s * SDR_CSCALE;
The text was updated successfully, but these errors were encountered:
Use test/utest/sdr_func_c_test to measure the performance. With my Raspi 4 (4GB, Raspi OS 64bit, Debian version 12.5), its test_05 reports:
with -DNEON
In https://github.com/tomojitakasu/PocketSDR/blob/master/src/sdr_func.c the dot_IQ_code function (called by corr_std) contains some NEON/AVX2 optimised code but it does not seems to do anything are the non optimised code is executed anyway at the end of the function. I would have expected a
#else
The performance metics obtained via test/sdr_func_test.py are also unaffected by the activation or not of the neon optimisation.
The text was updated successfully, but these errors were encountered: