tkonolige commented on code in PR #12138:
URL: https://github.com/apache/tvm/pull/12138#discussion_r930195958


##########
tests/python/unittest/test_tir_analysis_estimate_tir_flops.py:
##########
@@ -48,5 +50,16 @@ def test_te_workload(workload, flops):
     assert float(flops) == estimate_tir_flops(mod)
 
 
[email protected]_func
+def flops_with_let(a: T.Buffer[16, "float32"]):
+    for i in range(8):
+        j = i + 8
+        a[j] = a[i]
+
+
+def test_flops_with_let():
+    estimate_tir_flops(IRModule({"main": flops_with_let}))

Review Comment:
   Good point, done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to