Skip to content

Commit f3f037a

Browse files
committed
implements lp.distribute_loops
1 parent 2c1a5f0 commit f3f037a

File tree

4 files changed

+429
-0
lines changed

4 files changed

+429
-0
lines changed

doc/ref_transform.rst

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

7979
.. autofunction:: add_barrier
8080

81+
Loop Distribution
82+
-----------------
83+
84+
.. automodule:: loopy.transform.loop_distribution
85+
8186
Registering Library Routines
8287
----------------------------
8388

loopy/__init__.py

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

126126
from loopy.transform.realize_reduction import realize_reduction
127+
from loopy.transform.loop_distribution import (distribute_loops,
128+
IllegalLoopDistributionError)
127129

128130
# }}}
129131

@@ -253,6 +255,8 @@
253255

254256
"pack_and_unpack_args_for_call",
255257

258+
"distribute_loops", "IllegalLoopDistributionError",
259+
256260
# }}}
257261

258262
"get_dot_dependency_graph",

0 commit comments

Comments
 (0)