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 9a47fc0 commit e0aac94Copy full SHA for e0aac94
python/tvm/contrib/hexagon.py
@@ -194,9 +194,10 @@ def mutate(stmt):
194
if isinstance(stmt, tvm.tir.Allocate):
195
var = stmt.buffer_var
196
scope = var.type_annotation.storage_scope
197
+ is_vtcm = var in vtcm_buffers
198
if scope == "local.vtcm":
199
vtcm_buffers.pop()
- if var in vtcm_buffers:
200
+ if is_vtcm:
201
is_null = tvm.tir.call_intrin("bool", tvm.ir.Op.get("tir.isnullptr"), var)
202
throw_error = tvm.tir.call_intrin(
203
"int32", tvm.ir.Op.get("tir.tvm_throw_last_error")
0 commit comments