Skip to content

db7894/simplifying-dependent-reductions-polyhedral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplifying-dependent-reductions-polyhedral

A basic implementation of an MLIR pass based on the paper "Simplfying Dependent Reductions in the Polyhedral Model" by Yang et al. This isn't a fully general/robust pass but written for pedagogical purposes. I've only tested it on two examples: a simple prefix sum and a depth-3 loopnest reduction.

I've written a post attempting to explain the paper in some detail here.

You can run the pass on the prefix sum example like this.

bazel build //:optimizer
bazel-bin/optimizer tests/prefix_sum_test.mlir -p simplify-dependent-reduce -o output.mlir

About

simplifying dependent reductions in the polyhedral model

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors