Skip to content

Commit a3cf038

Browse files
committed
implements lp.distribute_loops
1 parent 23be763 commit a3cf038

File tree

4 files changed

+442
-0
lines changed

4 files changed

+442
-0
lines changed

doc/ref_transform.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ Manipulating Instructions
8080

8181
.. autofunction:: add_barrier
8282

83+
Loop Distribution
84+
-----------------
85+
86+
.. automodule:: loopy.transform.loop_distribution
87+
8388
Registering Library Routines
8489
----------------------------
8590

loopy/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@
125125
from loopy.transform.pack_and_unpack_args import pack_and_unpack_args_for_call
126126

127127
from loopy.transform.realize_reduction import realize_reduction
128+
from loopy.transform.loop_distribution import (distribute_loops,
129+
IllegalLoopDistributionError)
128130

129131
# }}}
130132

@@ -254,6 +256,8 @@
254256

255257
"pack_and_unpack_args_for_call",
256258

259+
"distribute_loops", "IllegalLoopDistributionError",
260+
257261
# }}}
258262

259263
"get_dot_dependency_graph",

0 commit comments

Comments
 (0)