dose any of the binaries can make use of the AVX instructions,
or do I have to compile one my self?
k-Wave
A MATLAB toolbox for the time-domain
simulation of acoustic wave fields
avx support
(2 posts) (2 voices)-
Posted 10 years ago #
-
Hi yuvalbs,
The binaries only support the SSE2 extension in order to run on a wide range of CPUs.
If you want to use AVX, you need to build the codes by yourself.1) It is necessary to build FFTW with the AVX support
./configure --enable-avx (other necessary parameters)
2) Find the DimensionSizes.h file in the Utils folder and change
const int SSE_ALIGNMENT = 16;
to
const int SSE_ALIGNMENT = 32;
3) Modify k-Wave's makefile by adding -mavx flag to the g++ compiler, or -xavx to the intel compiler
Jiri
Posted 10 years ago #
Reply
You must log in to post.