![]() Does that mean disabling the compiler to optimize with intrinsics and manually setting them in Visual Studio give that much better results? Last I checked there is nothing similar in gcc. If I change the flag Enable Intrinsics to Yes, my AVX numbers go from 5ms to 59ms. ![]() My concern and reason for this post is that I may not have a proper understanding of using AVX and the settings to properly them in both scenarios. Fedora Linux 15 w/ gcc 4.6 on a i7-3612QEįlags: -O3 -mavx -m64 -march=corei7-avx -mtune=corei7-avxįor my testing I ran the C implementation and the AVX implementation on both platforms and got the following timing results:Īs you can tell my AVX numbers on Linux are very large by comparison. Inline Function Expansion: Only _inline(/Ob1)įavor Size or Speed: Favor fast code (/Ot)Ģ. Windows 7 w/ Visual Studio 2010 on a i7-2760QM I have compiled and run this code on two platforms with the following compilation settings of note:ġ. I have recently written some code using AVX function calls to perform a convolution in my software.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |