ヘルプ センターヘルプ センター
CBLAS 演算のコード置換テーブル エントリを作成
obj = RTW.TflCBlasEntryGenerator
例
obj = RTW.TflCBlasEntryGenerator は、CBLAS 演算子のコード置換テーブル エントリのハンドル obj を作成します。このエントリは、演算子の概念表現を実装 (置換) 表現にマップします。
obj
すべて折りたたむ
この例では、CBLAS 演算子のコード置換テーブル エントリ hEnt を作成する方法を示します。
hEnt
hTable = RTW.TflTable; arch = computer('arch'); compilerName = 'my_compiler'; LibPath = fullfile('$(MATLAB_ROOT)', 'extern', ... 'lib', arch, compilerName); op_entry = RTW.TflCBlasEntryGenerator; libExt = 'lib'; setTflCOperationEntryParameters(op_entry, ... 'Key', 'RTW_OP_MUL', ... 'Priority', 100, ... 'ImplementationName', 'dgemm32', ... 'ImplementationHeaderFile', 'my_cblas_compatible_crl.h', ... 'ImplementationHeaderPath', fullfile('$(MATLAB_ROOT)','extern','include'), ... 'AdditionalLinkObjs', {['my_lib_cblas_compatible.' libExt]}, ... 'AdditionalLinkObjsPaths', {LibPath}, ... 'SideEffects', true);
obj は、作成された CBLAS 演算子のコード置換テーブル エントリのハンドルです。
R2010a で導入
RTW.TflBlasEntryGenerator | RTW.TflCOperationEntry | RTW.TflTable
RTW.TflBlasEntryGenerator
RTW.TflCOperationEntry
RTW.TflTable
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office