spectrometerHBH commented on pull request #42: URL: https://github.com/apache/tvm-rfcs/pull/42#issuecomment-954994430
If we explicitly introduce a concept similar to `pointer`, there may be some related problems. - If we don't have corresponding language construct to independently define a pointer and use it, like ```python p = BufferPointer(A, [i, j], value_dtype="f32") ``` then BufferPointer is merely an IR data structure that attaches to BufferLoad/BufferStore, which benefits the developer but doesn't bring additional expressiveness for the user. - If we introduce such definition statements of pointer variables, then a latent problem is alias, though I can't immediately mock up an example to clearly show which effects this will bring to the IR transformation analysis. -- 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]
