Skip to content

Conversation

@Husenap
Copy link
Contributor

@Husenap Husenap commented Jul 7, 2024

The C++ implementation of make_extern calls a local function(DeclExternBuffer) which is outdated and doesn't do the same thing as the equivalent Python function.

The Python implementation of decl_buffer was changed in #6317 and a check was added in buffer.cc which fails if you try to use make_extern in C++.

This PR fixes this by calling the tvm::tir::decl_buffer function in C++ which does the same thing as the Python implementation.

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