ICC_mex_tools

バージョン 1.1.0.0 (5.78 KB) 作成者: Igor
These tools provide a simple interface to Intel C++ compiler optimization features.
ダウンロード: 813
更新 2012/11/12

ライセンスの表示

Why do we need these tools?

When using more sophisticated compilers, like Intel C++ 13, serious speedup might be achieved by "playing" with optimization options.

Sets of options, which you repeatedly use, tend to group to "profiles".

In matlab, you can use "mex @" syntax to re-use mex command line options.

Though, 1) there would be no auto-completion, 2) you won't be able to automatically execute some required routines (like "clear mex").

These "ICC_mex_tools" demonstrate an easy way to maintain your compilation files.

----------

How to use:

Let's try to compile included example (thanks to Jan Simon for a perfect function).

This function is not very computation-intensive, it's just an example.

Just include it's directory to matlab path and try
>> mex_default(mexdirs_GetFullPath)
>> mex_ICC_O3(mexdirs_GetFullPath)
and so on.

You'll find further information in these files comments.
If you're familiar with ICC, Open MP, IPO, PGO and other related stuff - it won't take long... If you don't know anything about these methods - pay attention to links to intel documentation on these features.

These tools are supposed to be used with Intel C++ compiler, to connect Intel C++ 2013 Compiler to R2012b see
another my submission:
http://www.mathworks.com/matlabcentral/fileexchange/38980

引用

Igor (2024). ICC_mex_tools (https://www.mathworks.com/matlabcentral/fileexchange/38981-icc_mex_tools), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersThingSpeak についてさらに検索
謝辞

ヒントを得たファイル: GetFullPath

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

added direct link to "mex setup for windows x64 intel c compiler 13 (XE)"

1.0.0.0