Sostituzione dell'operatore
Utilizzare Code Replacement Tool o l'interfaccia di programmazione per definire le mappature di sostituzione del codice per le operazioni scalari e matriciali. Sostituire le operazioni matriciali con codice del processore o BLAS. Controllare l'allineamento dei dati. Personalizzare il processo di corrispondenza e sostituzione del codice.
Strumenti
| Code Replacement Tool | Create, modify, and validate content of code replacement libraries |
| Code Replacement Viewer | Explore content of code replacement libraries |
Funzioni
Argomenti
- 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.