tkonolige commented on a change in pull request #8215: URL: https://github.com/apache/tvm/pull/8215#discussion_r648491258
########## File path: python/tvm/script/intrin.py ########## @@ -180,6 +185,11 @@ def opaque_axis(begin, end, span): return get_axis(begin, end, "opaque", span) +@register +def Select(cond, if_body, else_body, span): # pylint: disable=invalid-name Review comment: I'm using the capital S because it matches the definition in tir (`tir.Select`). The reason we do this is so that people's editors do not complain about undefined functions and so that go to definition still works. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org