lightzhan-intellif opened a new pull request, #14693:
URL: https://github.com/apache/tvm/pull/14693
This PR tries to fix a bug, which will case the error:
```
error: unsupported operand type(s) for +: 'BufferRegion' and 'BufferRegion'
--> /workspace/code_newest/tvm/private_test/test_meta_programming.py:40:12
|
40 | B[0:5] = A[0:5] + B[0:5]
| ^^^^^^^^^^^^^^^
```
The problem will occur when it is a binary operation between two BufferSlice
accesses, because the parser do not know how to deal with it.
This PR solves this by adding corresponding ops to `BufferRegion`. Any
further suggestion is welcomed!
@junrushao @Hzfengsy @wrongtest-intellif
--
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]