Checking Matricization
The matricization check function checks matricizable code fragments and provides modification suggestions.
Command Function
Checks matricizable code snippets.
Syntax
devkit advisor matrix-check {-i INPUT_PATH | --input INPUT_PATH} [-s SCAN_DIR | --scan-dir SCAN_DIR] [(-b{make, cmake} | --build-tool {make,cmake}) & (-c COMMAND | --cmd COMMAND)] | [-j COMPILE_JSON_PATH | --compile-command-json COMPILE_JSON_PATH] [-o OUTPUT_PATH | --output OUTPUT_PATH] [-r {all,html,csv} | --report-type {all,html,csv}] [-p {sme,domain} | --optimization {sme,domain}] [-m {compute,memory_access,communication} | --module {compute,memory_access,communication}] [-l {0,1,2,3} | --log-level {0,1,2,3}] [--set-timeoutTIMEOUT]
Parameter Description
Example
In this example, the source code in the /home/advisor/project directory is scanned, the build tool is make, and the build command is make.
devkit advisor matrix-check -i /home/advisor/project -c make -b make
The following information is displayed and a report is generated:
Executing the matricization task, please wait...
Current progress:
Scanned time: 2024/05/17 06:17:34
Configuration:
Scan source code path: /home/advisor/project
Generate report path: /home/DevKit_Software
Generate report type: all
Task Timeout Interval: The timeout period is not set.
Log level: info
Summary:
Scanned 0 files, there are 0 sugguestions.
For the detailed information, please check
/home/DevKit_Software/matrix-check_20240229024448_4d53.html
/home/DevKit_Software/matrix-check_20240229024448_4d53.csv
Output Report
Parameter |
Description |
|---|---|
Configuration |
Displays the software source file path. |
Source File to Be Modified |
Displays information such as the path to the source file that needs to be modified. |
Parent topic: Affinity Analyzer
