|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] VOLK division between complexes |
Date: | Fri, 13 May 2016 21:58:56 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Hi Federico, I don't know if that will help much, but: volk_32fc_magnitude_squared_32f(&mag_sq_b[0], &b[0], N); // mag_sq_b = |b|^2Maybe doing it in-place, i.e. volk_32fc_magnitude_squared_32f(&[0], &b[0], N); // b = |b|^2might be even faster; just don't forget that you're then treating the first half of b as floats instead of complexes. I just realized there's the __mm_rcp_ps SSE1 intrinsic... maybe that complex/complex VOLK kernel is closer than I thought. Cheers, Marcus On 13.05.2016 20:59, Federico Larroca
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |