Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

运算符替换

定义运算符的代码替换映射

使用代码替换工具或编程接口,定义标量和矩阵运算的代码替换映射。将矩阵运算替换为处理器代码或 BLAS 代码。控制数据的对齐方式。自定义代码匹配和替换过程。

工具

代码替换工具Create, modify, and validate content of code replacement libraries
代码替换查看器Explore content of code replacement libraries

函数

全部展开

addEntry将表条目添加到代码替换表中注册的表条目集合中
createCRLEntryCreate code replacement table entry from conceptual and implementation argument string specifications
RTW.TflBlasEntryGeneratorCreate code replacement table entry for a BLAS operation
RTW.TflCBlasEntryGeneratorCreate code replacement table entry for a CBLAS operation
RTW.TflCOperationEntryCreate code replacement table entry for an operator
RTW.TflCOperationEntryMLCustom code replacement table operation entry
RTW.TflCOperationEntryGeneratorCreate code replacement table entry for a fixed-point addition or subtraction operation
RTW.TflCOperationEntryGenerator_NetSlopeCreate code replacement table entry for a net slope fixed-point operation
RTW.TflTableCreate code replacement table
setTflCOperationEntryParametersSet specified parameters for operator entry in code replacement table
addConceptualArgAdd conceptual argument to array of conceptual arguments for code replacement table entry
copyConceptualArgsToImplementationCopy conceptual argument specifications to implementation specifications of an entry for code replacement table entry
createAndAddImplementationArgCreate implementation argument from specified properties and add to implementation arguments for code replacement table entry
createAndSetCImplementationReturnCreate implementation return argument from specified properties and add to implementation for code replacement table entry
createCRLEntryCreate code replacement table entry from conceptual and implementation argument string specifications
createAndAddConceptualArgCreate conceptual argument from specified properties and add to conceptual arguments for code replacement table entry
getTflArgFromStringCreate code replacement argument based on specified name and built-in data type
addAdditionalHeaderFileAdd header file to array of header files for code replacement table entry
addAdditionalIncludePathAdd include path to array of include paths for code replacement table entry
addAdditionalLinkObjAdd link object to array of link objects for code replacement table entry
addAdditionalLinkObjPathAdd link object path to array of link object paths for code replacement table entry
addAdditionalSourceFileAdd source file to array of source files for code replacement table entry
addAdditionalSourcePathAdd source path to array of source paths for code replacement table entry
addComplexTypeAlignmentSpecify alignment boundary of a complex type
setReservedIdentifiersRegister reserved identifiers to associate with code replacement library

主题

相关信息