Operator-Ersatz
Verwenden Sie das Code Replacement Tool oder die Programmierungsschnittstelle, um Codeersetzungs-Mappings für Skalar- und Matrixoperationen zu definieren. Ersetzen Sie Matrixoperationen durch Prozessor- oder BLAS-Code. Steuern Sie die Datenangleichung. Passen Sie den Suchen-und-Ersetzen-Prozess für Code an.
Tools
| Code Replacement Tool | Create, modify, and validate content of code replacement libraries |
| Code Replacement Viewer | Explore content of code replacement libraries |
Funktionen
Themen
- Scalar Operator Code Replacement
Define code replacement mappings for scalar operators.
- Addition and Subtraction Operator Code Replacement
Define code replacement mappings for addition and subtraction operations.
- Small Matrix Operation to Processor Code Replacement
Define code replacement mappings that replace nonscalar small matrix operations with processor-specific intrinsic functions.
- Matrix Multiplication Operation to MathWorks BLAS Code Replacement
Define code replacement mappings that replace nonscalar multiplication operations with Basic Linear Algebra subroutine (BLAS) multiplication functions
andxgemm.xgemv - Matrix Multiplication Operation to ANSI/ISO C BLAS Code Replacement
Define code replacement mappings that replace nonscalar multiplication operations with ANSI®/ISO® C BLASBinary-Point-Only Scaling Code Replacement multiplication functions
andxgemm.xgemv - Shift Left Operations and Code Replacement
Define code replacement mappings for code that the code generator produces for shift (<<) operations.