omp

[MARK CONFIGURATION FOR MICROSOFT VISUAL STUDIO 2010, C++]

1 . ASSUME MEX SETUP HAS BEEN CONFIGURED.
2 . ADD SET COMPFLAGS = …/OPENMP TO mexopts.bat
3 . ADD #INCLUDE ‘OMP.H’

although matlab is faster than openmp on matrix multiplications, however, for other manipulation of matrices, openmp maybe is a better way to speed up the program.

A good benchmark for matrix multiplication is here.

About YiMin

This is just a nerd PhD student of Math@UT Austin.

One thought on “omp

  1. YiMin says:

    tried mtimesx from file exchange, it is fast enough to compete with matlab’s built-in product function. And it only uses openmp and BLAS.

Comments are closed.