You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/05/25 14:59:17 UTC

[GitHub] [tvm] Lunderberg opened a new pull request, #11454: [TVMScript] Allow T.Buffer[] arg annotation to use int as shape

Lunderberg opened a new pull request, #11454:
URL: https://github.com/apache/tvm/pull/11454

   Both the function `tvm.tir.decl_buffer` and the TVMScript `T.match_buffer` expression allow a `PrimExpr` to be passed as the buffer shape, which is interpreted as a 1-d buffer of that size.  This allows the same behavior to be used in the `T.Buffer` syntactic sugar.
   
   (e.g. `A: T.Buffer[16, "float32"]` instead of `A: T.Buffer[(16,), "float32"`)


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] masahi merged pull request #11454: [TVMScript] Allow T.Buffer[] arg annotation to use int as shape

Posted by GitBox <gi...@apache.org>.
masahi merged PR #11454:
URL: https://github.com/apache/tvm/pull/11454


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] Lunderberg commented on pull request #11454: [TVMScript] Allow T.Buffer[] arg annotation to use int as shape

Posted by GitBox <gi...@apache.org>.
Lunderberg commented on PR #11454:
URL: https://github.com/apache/tvm/pull/11454#issuecomment-1137754163

   Retriggering CI following #11456.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] Lunderberg commented on pull request #11454: [TVMScript] Allow T.Buffer[] arg annotation to use int as shape

Posted by GitBox <gi...@apache.org>.
Lunderberg commented on PR #11454:
URL: https://github.com/apache/tvm/pull/11454#issuecomment-1139622048

   Retriggering CI following https://github.com/tlc-pack/ci-packer/pull/5.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org