User Tools

Site Tools


schedule_code_generator

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
schedule_code_generator [2017/04/19 14:17]
waruna [Usage]
schedule_code_generator [2020/06/10 07:34] (current)
lnarmour fix minor typos
Line 34: Line 34:
 setSpaceTimeMap(program,​ system, "​temp_C", ​ "​(i,​j,​k->​i,​j,​k)"​);​ setSpaceTimeMap(program,​ system, "​temp_C", ​ "​(i,​j,​k->​i,​j,​k)"​);​
 setSpaceTimeMap(program,​ system, "​C", ​ "​(i,​j,​k->​i,​j,​k)"​);​ setSpaceTimeMap(program,​ system, "​C", ​ "​(i,​j,​k->​i,​j,​k)"​);​
-Ser first and second dimension to be parallel (or generate sequential code by no parallel specification) +Set first and second dimension to be parallel (or generate sequential code by no parallel specification) 
-setParallel(prog, system, "",​ "​0,​1"​);​+setParallel(program, system, "",​ "​0,​1"​);​
  
  
Line 42: Line 42:
  
 # Set the memory map # Set the memory map
-setMemoryMap(program,​ system, "​temp_C",​ "matrix_product", ​ "​(i,​j,​k->​i,​j)"​);​+setMemoryMap(program,​ system, "​temp_C",​ "inner_product", ​ "​(i,​j,​k->​i,​j)"​);​
  
 # Generate scheduled code according to the target mapping # Generate scheduled code according to the target mapping
schedule_code_generator.txt · Last modified: 2020/06/10 07:34 by lnarmour