[Bug] Data Type Mismatch (int64 vs int32) in T.match_buffer when Working with Scalar Buffers in TIR #17392
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
I encountered an issue when trying to build a TIR-based module. The following error occurs when using
T.match_buffer
for a scalar element:If I replace the line
C1 = T.match_buffer(C0[jj], ())
with direct assignment usingC0[jj] = T.float32(0)
, the error goes away, and the code builds successfully without any issues.Steps to reproduce
CC @Lunderberg @tqchen @junrushao
The text was updated successfully, but these errors were encountered: