Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion loopy/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ def check_for_nested_base_storage(kernel: LoopKernel) -> None:

for ary in kernel.temporary_variables.values():
if ary.base_storage:
storage_array = name_to_array.get(ary.base_storage, None)
storage_array = name_to_array.get(ary.base_storage)

if storage_array is None:
raise LoopyError("Nothing known about storage array "
Expand Down
2 changes: 1 addition & 1 deletion loopy/kernel/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ def get_auto_axis_iname_ranking_by_stride(kernel, insn):
if var.name in auto_axis_inames:
# excludes '1', i.e. the constant
new_stride = coeff*stride
old_stride = iname_to_stride_expr.get(var.name, None)
old_stride = iname_to_stride_expr.get(var.name)
if old_stride is None or new_stride < old_stride:
iname_to_stride_expr[var.name] = new_stride

Expand Down
Loading