zhiics commented on a change in pull request #5213: [REFACTOR][TIR] Migrate 
LowerTVMBuiltin, InferFragment, LowerThreadAllreduce, ThreadSync to Pass Manager
URL: https://github.com/apache/incubator-tvm/pull/5213#discussion_r401992304
 
 

 ##########
 File path: python/tvm/driver/build_module.py
 ##########
 @@ -249,30 +259,39 @@ def _build_for_device(flist, target, target_host):
         else:
             raise ValueError("unknown function type %d" % func.func_type)
 
-    for i, func in enumerate(fdevice):
-        warp_size = target.thread_warp_size
-        fdevice[i] = ir_pass.LowerWarpMemory(func, warp_size)
-
     if "gpu" in target.keys and not fdevice:
         warnings.warn(
             "Specified target %s, but cannot find device code, did you do "
             "bind?" % target)
 
     fhost = [ir_pass.BindDeviceType(x, device_type) for x in fhost]
 
 Review comment:
   Should this one be handled together as well?

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to