Skip to content

tancheng/g-fpin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

The mapper requires the following additional prerequisites:

  • LLVM 11.0
  • CMAKE 3.1

Execution

Generate DFG for a target kernel:

 % opt -load ~/this repo/build/mapper/libmapperPass.so -mapperPass ~/target benchmark/target_kernel.bc

Initial Evaluation

Different types of nodes in each DFG:

#nodes #edges Iter MASK RFs SIN SOUT and add fadd sub br icmp select lshr xor mul fmul fneg div fdiv rem ext trunc itof extract insert shuffle sqrt
is/for 41 48 1 4 9 7 6 0 6 0 0 2 2 0 0 0 1 0 0 0 0 0 2 1 0 0 0 0 0
is/while 5 4 1 0 2 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
sp 15 19 1 0 2 2 1 0 0 1 0 0 1 1 0 0 0 0 0 1 1 1 2 1 0 0 0 0 1
miniFE/gather0 6 6 1 1 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
miniFE/gather1 10 10 1 0 1 3 2 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
miniFE/reduce0 19 24 1 6 1 1 3 0 1 0 0 2 2 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0
miniFE/reduce1 16 18 1 0 3 2 1 2 0 0 0 1 2 0 1 1 0 0 0 0 0 0 2 0 0 0 0 0 0
last_lu 18 20 1 1 3 3 0 0 3 0 0 0 0 0 0 0 0 2 0 0 1 0 0 0 3 0 0 0 1
last_mg 35 34 1 1 4 8 6 0 11 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
last_sw4light 652 1012 1 8 56 79 59 0 7 80 3 3 3 0 0 0 0 248 33 0 1 0 3 0 0 18 41 9 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published