Main Content

RTW.TflBlasEntryGenerator

BLAS 演算のコード置換テーブル エントリを作成

説明

obj = RTW.TflBlasEntryGenerator は、BLAS 演算子のコード置換テーブル エントリのハンドル obj を作成します。このエントリは、演算子の概念表現を実装 (置換) 表現にマップします。

すべて折りたたむ

この例では、BLAS 演算子のコード置換テーブル エントリ op_entry を作成する方法を示します。

hTable = RTW.TflTable;

arch = computer('arch');
compilerName = 'microsoft';
LibPath = fullfile('$(MATLAB_ROOT)', 'extern', ...
    'lib', arch, compilerName);

op_entry = RTW.TflBlasEntryGenerator;

libExt = 'lib';

setTflCOperationEntryParameters(op_entry, ...
    'Key',                      'RTW_OP_MUL', ...
    'Priority',                 100, ...
    'ImplementationName',       'dgemm32', ...
    'ImplementationHeaderFile', 'blascompat32_crl.h', ...
    'ImplementationHeaderPath', fullfile('$(MATLAB_ROOT)','extern','include'), ...
    'AdditionalLinkObjs',       {['libmwblascompat32.' libExt]}, ...
    'AdditionalLinkObjsPaths',  {LibPath}, ...
    'SideEffects',              true);

出力引数

すべて折りたたむ

obj は、作成された BLAS 演算子のコード置換テーブル エントリのハンドルです。

バージョン履歴

R2010a で導入