User Tools

Site Tools


schedule_code_generator

Differences

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

Link to this comparison view

Last revision Both sides next revision
schedule_code_generator [2017/04/19 13:31]
127.0.0.1 external edit
schedule_code_generator [2017/04/19 14:17]
waruna [Usage]
Line 23: Line 23:
 The following commands will generate the scheduled code based on the given target mapping. The following commands will generate the scheduled code based on the given target mapping.
  
-<sxh cs; gutter: false>+<sxh cs; gutter:true>
 # Load an alphabets program and store as 'program' # Load an alphabets program and store as 'program'
 program = ReadAlphabets("../../alphabets/matrix_product.ab"); program = ReadAlphabets("../../alphabets/matrix_product.ab");
Line 44: Line 44:
 setMemoryMap(program, system, "temp_C", "matrix_product",  "(i,j,k->i,j)"); setMemoryMap(program, system, "temp_C", "matrix_product",  "(i,j,k->i,j)");
  
-</sxh> 
-<sxh cs; gutter:true> 
 # Generate scheduled code according to the target mapping # Generate scheduled code according to the target mapping
 generateScheduledCode(program, system, outDir); generateScheduledCode(program, system, outDir);
schedule_code_generator.txt ยท Last modified: 2020/06/10 07:34 by lnarmour