tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] siju-samuel commented on a change in pull request #5139: [REFACTOR][TIR] Introduce PrimFuncPass.
Date Tue, 24 Mar 2020 02:33:55 GMT
siju-samuel commented on a change in pull request #5139: [REFACTOR][TIR] Introduce PrimFuncPass.
URL: https://github.com/apache/incubator-tvm/pull/5139#discussion_r396869991
 
 

 ##########
 File path: tests/python/unittest/test_tir_transform_combine_context_call.py
 ##########
 @@ -37,9 +37,15 @@ def device_context(dev_id):
                     ("int32", "fadd", device_context(0), A))
     body = ib.get()
     f = tvm.tir.ir_pass.MakeAPI(body, "func", [dev_type, n], 2, True)
-    f = tvm.tir.ir_pass.CombineContextCall(f)
-    assert f.body.value.dtype == "handle"
-    assert f.body.body.value.dtype == "handle"
+
+    # temp adapter t convert loweredFunc to IRModule
 
 Review comment:
   t -> to?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message