[GitHub] [tvm] junrushao commented on a diff in pull request #12875: [TIR] Allow missing TensorIntrin in registry lookup

2022-09-22 Thread GitBox
junrushao commented on code in PR #12875: URL: https://github.com/apache/tvm/pull/12875#discussion_r977974861 ## include/tvm/tir/function.h: ## @@ -233,10 +233,13 @@ class TensorIntrin : public ObjectRef { /*! * \brief Look up TensorIntrin by name. Raises an exception if

[GitHub] [tvm] junrushao commented on a diff in pull request #12875: [TIR] Allow missing TensorIntrin in registry lookup

2022-09-22 Thread GitBox
junrushao commented on code in PR #12875: URL: https://github.com/apache/tvm/pull/12875#discussion_r977975093 ## python/tvm/tir/function.py: ## @@ -228,20 +228,24 @@ def register(name: str, desc: PrimFunc, impl: PrimFunc): return _ffi_api.TensorIntrinRegister(name, Tens