Commit 83982d3f by solin319 Committed by Tianqi Chen

fix name bug in test_pass_inject_double_buffer (#678)

Change the parameter 'C' name
parent e1b2c02f
...@@ -7,7 +7,7 @@ def test_double_buffer(): ...@@ -7,7 +7,7 @@ def test_double_buffer():
tx = tvm.thread_axis("threadIdx.x") tx = tvm.thread_axis("threadIdx.x")
ib = tvm.ir_builder.create() ib = tvm.ir_builder.create()
A = ib.pointer("float32", name="A") A = ib.pointer("float32", name="A")
C = ib.pointer("float32", name="A") C = ib.pointer("float32", name="C")
ib.scope_attr(tx, "thread_extent", 1) ib.scope_attr(tx, "thread_extent", 1)
with ib.for_range(0, n) as i: with ib.for_range(0, n) as i:
B = ib.allocate("float32", m, name="B", scope="shared") B = ib.allocate("float32", m, name="B", scope="shared")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment