Examples

We demonstrate how to use the MAESTRO to generate the required results using one of the provided mapping file in the repository.

  • Go to maestro directory.

Note

For more information, please see Installation.

  • For this demonstration purposes, we will be using the following mapping file : Resnet50_kcp.m.

    • All the default mapping files are provided here:

    data/mapping
    

Note

For more information on the Mapping Description, please see Mapping Description.

  • For this demonstration purposes, we will be using the following hardware description file : accelerator_1.m.

    • All the default hardware description files are provided here:

    data/hw
    

Note

For more information on the Hardware Description, please see Hardware Description File.

  • Change the contents of “run_example.sh” to use the given mapping file

--Mapping_file='data/mapping/Resnet50_kcp.m'
--HW_file='data/hw/accelerator_1.m'

Note

For more information on the parameters in the run_example.sh, please see Parameters Input to MAESTRO.

  • Run MAESTRO

./run_example.sh
  • The result will be generated in the maestro directory as : Resnet50_kcp.csv giving results per layer for the given Mapping file.

Note

For more information on the result analysis, please see Result Analysis with Jupyter Notebooks.