Skip to content

Conversation

@Hzfengsy
Copy link
Member

This commit enhances the address_of function to accept both Buffer and BufferLoad objects. When a Buffer is passed, it automatically creates a BufferLoad with zero indices to get the base address.

This commit enhances the address_of function to accept both Buffer and
BufferLoad objects. When a Buffer is passed, it automatically creates
a BufferLoad with zero indices to get the base address.
@tqchen tqchen merged commit f09e61b into apache:main Jun 17, 2025
13 checks passed
@Hzfengsy Hzfengsy deleted the address_of_buffer branch June 17, 2025 13:13
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
This commit enhances the address_of function to accept both Buffer and
BufferLoad objects. When a Buffer is passed, it automatically creates
a BufferLoad with zero indices to get the base address.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants