Lunderberg commented on code in PR #16569:
URL: https://github.com/apache/tvm/pull/16569#discussion_r1507623450


##########
tests/python/codegen/test_inject_ptx_ldg32.py:
##########
@@ -20,7 +20,8 @@
 import tvm.testing
 
 
[email protected]_func
+# A_local is undefined
[email protected]_func(check_well_formed=False)

Review Comment:
   Whoops, you were right initially, and it should have been a `T.decl_buffer`. 
 I got it confused between the `T.decl_buffer` construct in TVMScript, and the 
`DeclBuffer` node in C++.  If `T.decl_buffer` has the default value of 
`data=None`, then it will expand to a `DeclBuffer` and the corresponding 
`Allocate` node.
   
   The `T.alloc_buffer` is only valid within a block, and fills the 
`BlockNode::alloc_buffers` field.



-- 
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