高速なMEX-Fileを生成できるMATLABコンパイラ

URI http://harp.lib.hiroshima-u.ac.jp/hiroshima-cu/metadata/5634
File
Title
高速なMEX-Fileを生成できるMATLABコンパイラ
Title Alternative
A MATLAB Compiler for Optimized MEX-File Generation
Author
氏名 川端 英之
ヨミ カワバタ ヒデユキ
別名 KAWABATA Hideyuki
氏名 北村 俊明
ヨミ キタムラ トシアキ
別名 KITAMURA Toshiaki
Abstract

MALTABコードの高速実行のために,プログラムをコンパイル言語記述に変換する手法がいくつか提案され,特に大規模計算に関してその有効性が確認されている.しかしながら,プログラムをFortran記述に変換してMATLABインタプリタとは独立に実行することを仮定しているものがほとんどで.MATLAB処理系の豊富な組み込み関数や描画ルーチンとの連係のためにはユーザは依然として繁雑な作業をする必要があった.これに対し我々は,開発中のMATLABコンパイラCMCの機能を拡張し,スタンドアロン実行用のFortranコードだけでなく,MATLABインタプリタから直接呼び出せるMEX-fileを生成する機能を実装した.本稿では,我々の用いたMEX-file生成方式について述べる.数値実験では,自動生成されたMEX-fileがFortranコード単独での実行と同等な速度で実行できることが確認できた. / Compilation of MATLAB programs for speeding up the execution of them has been studied and recognized as a promising approach especially for large-scale computations. However, many of existing compilation systems have been constructed as tools for generating efficient executables which run independently of the MATLAB interpreter. Thus, the rich set of utilities of the MATLAB system,'which includes data analysis tools and visualization tools, has remained difficult to use with the compiler-generated codes. In this article, we show the newly developed functionality of our compiler for MATLAB scripts. Our system, CMC, can automatically generate MEX-files, or programs which are able to invoke in the MATLAB's interactive environment. Experimental results of CG programs processed by CMC confirm that the system is also effective for MEX-file generation.

Journal Title
情報処理学会研究報告. [ハイパフォーマンスコンピューティング]
Volume
2004
Issue
128
Spage
43
Epage
48
Published Date
2004-12-17
Publisher
社団法人情報処理学会
ISSN
0919-6072
NCID
AN10463942
NAID
110002950856
Language
jpn
NIIType
Technical Report
Text Version
出版社版
Rights
ここに掲載した著作物の利用に関する注意:本著作物の著作権は(社)情報処理学会に帰属します。本著作物は著作権者である情報処理学会の許可のもとに掲載するものです。ご利用に当たっては「著作権法」ならびに「情報処理学会倫理綱領」に従うことをお願いいたします。 The copyright of this material is retained by the Information Processing Society of Japan (IPSJ). This material is published on this web site with the agreement of the author (s) and the IPSJ. Please be complied with Copyright Law of Japan and the Code of Ethics of the IPSJ if any users wish to reproduce, make derivative work, distribute or make available to the public any part or whole thereof. All Rights Reserved, Copyright (C) Information Processing Society of Japan.
Relation
isVersionOf:http://ci.nii.ac.jp/naid/110002950856
Relation URL
Old URI
Set
hiroshima-cu