On 01/04/11 10:37, Greenberg, Naomi wrote:
> The question is whether there’s a way to automatically get the optimal
> vector size from each machine (using Linux) or whether there’s a
> better way to get the same result?
Your compiler ought to be much better in answering that question
automatically for you. If you really do need hand tuning, look at a
library like ATLAS or FFTW to see how they self-tune themselves.
Best,
Aleks
--
Aleksandar Donev, Assistant Professor of Mathematics
Courant Institute of Mathematical Sciences
Office: 909 Warren Weaver Hall, New York University
E-mail: [log in to unmask]
Phone: (212) 992-7315; Fax: (212) 995-4121
Mailing address: 251 Mercer St, New York, NY 10012
Web: http://cims.nyu.edu/~donev
|