Skip to content

Commit

Permalink
implements loop fusion transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikcfd committed Dec 10, 2021
1 parent c78f2c9 commit 1a5bc7e
Show file tree
Hide file tree
Showing 3 changed files with 661 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/ref_transform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,10 @@ TODO: Matching instruction tags

.. automodule:: loopy.match


Fusing Loops
------------

.. automodule:: loopy.transform.loop_fusion

.. vim: tw=75:spell
6 changes: 6 additions & 0 deletions loopy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@

from loopy.tools import Optional, t_unit_to_python

from loopy.transform.loop_fusion import (get_kennedy_unweighted_fusion_candidates,
rename_inames_in_batch)


__all__ = [
"TaggedVariable", "Reduction", "LinearSubscript", "TypeCast",
Expand Down Expand Up @@ -248,6 +251,9 @@

"pack_and_unpack_args_for_call",

"rename_inames_in_batch",
"get_kennedy_unweighted_fusion_candidates",

# }}}

"get_dot_dependency_graph",
Expand Down
Loading

0 comments on commit 1a5bc7e

Please sign in to comment.