Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loopy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
loopy
Commits
89deff32
Commit
89deff32
authored
12 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
In CSE: Only inherit restrictions unrelated to storage from global s2s map.
parent
e42276ce
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MEMO
+5
-5
5 additions, 5 deletions
MEMO
loopy/cse.py
+5
-6
5 additions, 6 deletions
loopy/cse.py
with
10 additions
and
11 deletions
MEMO
+
5
−
5
View file @
89deff32
...
...
@@ -16,9 +16,6 @@ Things to consider
- Every loop in loopy is opened at most once.
Too restrictive?
- Loop bounds currently may not depend on parallel dimensions
Does it make sense to relax this?
- Why do CSEs necessarily have to duplicate the inames?
-> because that would be necessary for a sequential prefetch
...
...
@@ -49,8 +46,6 @@ To-do
- Fix timer / call code
- make sure simple side effects in global work
- Fuse: store/fetch elimination?
Fixes:
...
...
@@ -115,6 +110,11 @@ Future ideas
Dealt with
^^^^^^^^^^
- make sure simple side effects work
- Loop bounds currently may not depend on parallel dimensions
Does it make sense to relax this?
- Streamline argument specification
- syntax for linear array access
...
...
This diff is collapsed.
Click to expand it.
loopy/cse.py
+
5
−
6
View file @
89deff32
...
...
@@ -197,13 +197,12 @@ def build_global_storage_to_sweep_map(kernel, invocation_descriptors,
s2s_domain
,
aligned_g_s2s_parm_dom
=
isl
.
align_two
(
s2s_domain
,
global_s2s_par_dom
)
s2s_domain
=
s2s_domain
.
project_out_except
(
a
rg_inames
,
[
dim_type
.
param
])
aligned_g_s2s_parm_dom
=
aligned_g_s2s_parm_dom
.
project_out_except
(
arg_inames
,
[
dim_type
.
param
]
)
arg_restrictions
=
(
a
ligned_g_s2s_parm_dom
.
eliminate
(
dim_type
.
set
,
0
,
aligned_g_s2s_parm_dom
.
dim
(
dim_type
.
set
))
.
remove_divs
()
)
is_in_footprint
=
((
s2s_domain
&
aligned_g_s2s_parm_dom
)
.
is_subset
(
aligned_g_s2s_parm_dom
))
is_in_footprint
=
(
arg_restrictions
&
s2s_domain
).
is_subset
(
aligned_g_s2s_parm_dom
)
invdesc
.
is_in_footprint
=
is_in_footprint
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment