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
04cd0ac6
Commit
04cd0ac6
authored
13 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Generate the shapes of ILP accumulators in the correct type.
parent
7690a127
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MEMO
+2
-2
2 additions, 2 deletions
MEMO
loopy/preprocess.py
+3
-1
3 additions, 1 deletion
loopy/preprocess.py
with
5 additions
and
3 deletions
MEMO
+
2
−
2
View file @
04cd0ac6
...
...
@@ -39,8 +39,6 @@ Things to consider
To-do
^^^^^
- Automatically generate testing code vs. sequential.
- Fix all tests
- Deal with equality constraints.
...
...
@@ -83,6 +81,8 @@ Future ideas
Dealt with
^^^^^^^^^^
- Automatically generate testing code vs. sequential.
- If isl can prove that all operands are positive, may use '/' instead of
'floor_div'.
...
...
This diff is collapsed.
Click to expand it.
loopy/preprocess.py
+
3
−
1
View file @
04cd0ac6
...
...
@@ -99,8 +99,10 @@ def realize_reduction(kernel):
for
iname
in
ilp_inames
:
bounds
=
kernel
.
get_iname_bounds
(
iname
)
from
loopy.symbolic
import
pw_aff_to_expr
ilp_iname_lengths
.
append
(
static_max_of_pw_aff
(
bounds
.
size
,
constants_only
=
True
))
int
(
pw_aff_to_expr
(
static_max_of_pw_aff
(
bounds
.
size
,
constants_only
=
True
))))
# }}}
...
...
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