Overview
Overview
After analyzing an operator and defining the prototype, you can use the msOpGen tool to generate a custom operator project, compile the project, and deploy it. For details about the process, see Figure 1.
It provides the following functions:
- Outputs operator projects based on the operator prototype definition.
- Outputs the operator simulation pipeline file based on the dump data file generated in the performance simulation environment.
Features
msOpGen supports the following features: operator project generation, operator implementation (on both host and kernel), operator project compilation and deployment, and operator simulation pipeline file parsing.
|
Function |
Link |
|---|---|
|
Operator project generation |
|
|
Operator implementation (on both host and kernel) |
|
|
Operator project compilation and deployment |
|
|
Operator simulation pipeline file parsing |
Commands
After an operator template is generated based on the input configuration parameters, you are advised to check the security of the operator project code before running the template.
msopgen gen -i {*.json} -f {framework type} -c {Compute Resource} -lan cpp -out {Output Path}
Supplementary Notes
For details about other parameters of the msOpGen tool, see Table 3 and Table 4.
