MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
为 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
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处