User Tools

Site Tools


schedule_code_generator_for_code_with_subsystem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
schedule_code_generator_for_code_with_subsystem [2014/07/07 15:34]
yun [TargetMapping for Optimization]
schedule_code_generator_for_code_with_subsystem [2014/07/07 15:39]
yun [TargetMapping for the Matrix Multiplication Example]
Line 81: Line 81:
 setSpaceTimeMapForUseEquationOptimization(prog,​ rootSystem, label, 1, 0, "​(ip,​jp->​0,​0,​0,​2)",​ "​(ip,​jp->​1,​ip,​jp,​3)",​ "​(ip,​jp->​2,​0,​0,​2)"​);​ setSpaceTimeMapForUseEquationOptimization(prog,​ rootSystem, label, 1, 0, "​(ip,​jp->​0,​0,​0,​2)",​ "​(ip,​jp->​1,​ip,​jp,​3)",​ "​(ip,​jp->​2,​0,​0,​2)"​);​
  
 +#command for generating the code 
 generateScheduledCode(prog,​ rootSystem, outDir); generateScheduledCode(prog,​ rootSystem, outDir);
 generateWrapper(prog,​ rootSystem, outDir); generateWrapper(prog,​ rootSystem, outDir);
Line 91: Line 92:
  
 The following command is the command that specifies the optimization for the first input of the useEquation C. The following command is the command that specifies the optimization for the first input of the useEquation C.
- +<sxh cs; gutter:​false>​ 
 +setMemorySpaceForUseEuqationOptimization(prog,​ rootSystem, label, 0, 0, "​A"​);​ 
 +</​sxh>​ 
 +The code generated passes the corresponding pointer of A is passed into the function call.
  
  
schedule_code_generator_for_code_with_subsystem.txt · Last modified: 2017/04/19 13:31 (external edit)