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
b2406254
Commit
b2406254
authored
9 years ago
by
James Stevens
Browse files
Options
Downloads
Patches
Plain Diff
notes in comments
parent
3aff212f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
loopy/statistics.py
+10
-0
10 additions, 0 deletions
loopy/statistics.py
with
10 additions
and
0 deletions
loopy/statistics.py
+
10
−
0
View file @
b2406254
...
...
@@ -224,6 +224,16 @@ class SubscriptCounter(CombineMapper):
def
map_variable
(
self
,
expr
):
return
0
#TODO find stride looking in ArrayBase.dim tag
'''
for each instruction, find which iname is associated with local id0 (iname_to_tag)
then for each array axis in that instruction, run through all axes and see if local id0 iname occurs
for each axis where this occurs, see if stride=1 (using coefficient collecter)
variable has dimTags (one for each axis),
localid 0 is threadidx.x
'''
# to evaluate poly: poly.eval_with_dict(dictionary)
def
get_op_poly
(
knl
):
...
...
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