Skip to content
Snippets Groups Projects
Commit b2406254 authored by James Stevens's avatar James Stevens
Browse files

notes in comments

parent 3aff212f
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment