Skip to content
Snippets Groups Projects
Commit 35701a55 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Guard against Nones in integer arg finder

parent af42714b
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,9 @@ def generate_integer_arg_finding_from_shapes(gen, kernel, impl_arg_info, flags):
if arg.arg_class is GlobalArg:
sym_shape = var(arg.name).attr("shape")
for axis_nr, shape_i in enumerate(arg.shape):
if shape_i is None:
continue
deps = dep_map(shape_i)
if len(deps) == 1:
......
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