06.12.2011 23:31, Oleg Mikulya kirjoitti:
> How to make Numpy to match Matlab in term of performance ? I have tryied
> with different options, using different MKL libraries and ICC versions,
> still Numpy is below Matalb for certain basic tasks by ~2x. About 5
> years ago I was able to get about same speed, not anymore. Matlab
> suppose to use same MKL, what it the reason of such Numpy slowness
> (beside one, yet fundamental, task)?

There should be no reason for a difference. It simply makes the calls to
the external library, and the wrapper code is straightforward.

If Numpy indeed is linked against MKL (check the build log), then one
possible reason could be different threading options passed to MKL.

-- 
Pauli Virtanen

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to