演算子の置換
コード置換ツールまたはプログラミング インターフェイスを使用して、スカラー演算と行列演算のコード置換マッピングを定義します。行列演算をプロセッサまたは BLAS コードで置換します。データ配置を制御します。コードのマッチングと置換プロセスをカスタマイズします。
ツール
コード置換ツール | コード置換ライブラリの内容の作成、変更、および検証 |
コード置換ビューアー | コード置換ライブラリの内容の調査 |
関数
トピック
- Scalar Operator Code Replacement
Define code replacement mappings for scalar operators.
- Replace Addition and Subtraction Operator Code
Define code replacement mappings for addition and subtraction operations.
- Addition and Subtraction Algorithm Types for Code Replacement
Determine whether your operator algorithm is cast-before-operation or cast-after-operation for code replacement.
- 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
andx
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
andx
gemm
.x
gemv - Shift Left Operations and Code Replacement
Define code replacement mappings for code that the code generator produces for shift (<<) operations.