Matlab multiplies two 3000by3000 matrix around 0.18s faster than MMA. While for just a few matrix multiplications the speed difference is not important, it becomes crucial when I want to do those matrix multiplications on the order of 1 million times.
I have three questions:
1- How much using GPU in MMA makes the computation faster relative to using CPU?
2- How much using GPU in Matlab makes the computation faster relative to using CPU?
3- Is there a way to make the built in matrix multiplication of MMA even faster without using GPU? If it's not possible, can I call Matlab or some other c library within MMA to do the calculations?
I am really reluctant to rewrite the program in Matlab because to me it is really hard to catch up with its too-much-concise syntax.
It would be good if someone could give some benchmark about multiplication of two 3000by3000 matrices by using GPU and mention the model of his/her GPU. It would be much better to compare the results with Matlab of course.