discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] use volk with custom arrays


From: Johannes Demel
Subject: [Discuss-gnuradio] use volk with custom arrays
Date: Thu, 6 Sep 2012 12:48:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0

Hello list,

currently I am looking for a way to use volk on arrays. Specifically not on input and or output buffers. So I need to align my custom arrays. How do I do this? What exactly does volk_get_alignment and set_alignment do? I didn't find any documentation or source code yet.

Example:

//define arrays like this:
int size = 10; // or what so ever.
gr_complex my_array1[size];
gr_complex my_array2[size];
gr_complex my_array3[size];

volk_32fc_x2_multiply_32fc_a(my_array3, my_array2, my_array1, size);

Is it possible to do something like this? Or am I on the wrong way?

Thanks in advance!

Johannes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]