junrushao1994 commented on a change in pull request #7809:
URL: https://github.com/apache/tvm/pull/7809#discussion_r616970743



##########
File path: python/tvm/ir/op.py
##########
@@ -115,3 +127,43 @@ def _register(v):
         return v
 
     return _register(value) if value is not None else _register
+
+
+def register_op_intrin_lowering(
+    op_name,
+    target,
+    f=None,
+    level=10,
+    override=False,
+):

Review comment:
       oh BTW, the order of the arguments matter, and we need to double check 
if the following syntax works
   
   ```
   @tvm.ir.op.register_op_intrin_lowering("tir.exp", target="cuda", 
override=True)
   def my_exp(expr) -> expr:
       pass
   ```




-- 
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:
[email protected]


Reply via email to