We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb1b21 commit 9f0210fCopy full SHA for 9f0210f
python/tvm/script/ir_builder/tir/ir.py
@@ -1300,7 +1300,9 @@ def buffer_store(
1300
for index in indices:
1301
if isinstance(index, slice):
1302
step = 1 if index.step is None else index.step
1303
- lanes = Analyzer().simplify((index.stop - index.start + step - 1) // step)
+ lanes = Analyzer().simplify( # pylint: disable=redefined-outer-name
1304
+ (index.stop - index.start + step - 1) // step
1305
+ )
1306
if lanes == 1:
1307
expr_indices.append(index.start)
1308
else:
0 commit comments