Use the Code Replacement Tool or programming interface to define code replacement mappings for scalar and matrix operations. Replace matrix operations with processor or BLAS code. Control data alignment. Customize the code match and replacement process.
Code Replacement Tool | Create, modify, and validate content of code replacement libraries |
Code Replacement Viewer | Explore content of code replacement libraries |
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
and
x
gemm
.x
gemv
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
and
x
gemm
.x
gemv
Shift Left Operations and Code Replacement
Define code replacement mappings for code that the code generator produces for shift (<<) operations.