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.

Advertisements

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.

DOODLE SOMETH

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s