On 02/13/2013 12:17 PM, Tommy Tracy II wrote:
Nick, thank you. I was wondering why AVX showed up in the list if the processor didn't support it.
Does anyone have any ideas why rotatorpupper would take so long?

I don't, but I'm not that worried about it as the generic implementation is only there for backup when the hardware doesn't support the more effective SIMD version. Generic implementation times can vary hugely dependent on which version of GCC you're using, what optimization flags were enabled, etc. And sometimes GCC just optimizes really, really terribly.

The segfault is a different story. Like Josh suggests a backtrace would be helpful to see exactly what went wrong.

--n

                   Sincerely,
          Tommy James Tracy II
          PhD Student
High Performance Low Power Lab
           University of Virginia

On Feb 13, 2013, at 2:57 PM, Nick Foster <n...@ettus.com <mailto:n...@ettus.com>> wrote:

On 02/13/2013 08:25 AM, Tommy Tracy II wrote:
Thank you. I think this may be the problem:

# grep "Available architectures" cmake.out
-- Available architectures: generic;32;3dnow;abm;popcount;mmx;sse;sse2;orc;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2;avx

# grep "Available machines" cmake.out
-- Available machines: generic_orc;sse2_32_mmx_orc;sse3_32_orc;ssse3_32_orc;sse4_a_32_orc;sse4_1_32_orc;sse4_2_32_orc;avx_32_mmx_orc

/proc/cpuinfo flags:
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi *mmx* fxsr *sse* *sse2* ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 *ssse3 *cx16 xtpr pdcm *sse4_1* *sse4_2* popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept void


It looks like my processor does not support avx, but Gnuradio assumes it does. Is there a way to disable avx?

No, your processor doesn't support AVX. Your compiler, however, does. Volk looks once at compile time to build all architectures your compiler supports, and then looks again at runtime to enable only instructions your CPU can support. If you look at volk_profile's output again, you'll see that it's not trying to use a volk_machine with AVX support:

Using Volk machine: sse4_2_32_orc

I haven't tried using volk_profile on a 32-bit OS but I suspect that has something to do with your incredibly long rotatorpuppet test. =)

--n



                   Sincerely,
          Tommy James Tracy II
PhD Student
High Performance Low Power Lab
           University of Virginia

On Feb 12, 2013, at 10:27 AM, Johnathan Corgan <johnat...@corganlabs.com <mailto:johnat...@corganlabs.com>> wrote:

Available architectures: generic;64;3dnow;abm;popcount;mmx;sse;sse2;orc;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2;avx



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to