This PR enables the copy on write optimizations passes: - Enable COW for IRModule both TIR and relay passes. - Enabled COW for PrimFunc in TIR passes. Need more thoughts into whether/how to enable COW for relay::Function, due to some function passes depend on the presence of IRModule for context information, and the std::move of the related function to nullptr might affect the related behavior.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
bind_device_type.cc | Loading commit data... | |
combine_context_call.cc | Loading commit data... | |
lower_custom_datatypes.cc | Loading commit data... | |
lower_device_storage_access_info.cc | Loading commit data... | |
lower_intrin.cc | Loading commit data... | |
lower_thread_allreduce.cc | Loading commit data... | |
lower_tvm_builtin.cc | Loading commit data... | |
lower_warp_memory.cc | Loading commit data... | |
make_packed_api.cc | Loading commit data... | |
narrow_datatype.cc | Loading commit data... | |
remap_thread_axis.cc | Loading commit data... | |
skip_assert.cc | Loading commit data... | |
split_host_device.cc | Loading commit data... | |
tensorcore_infer_fragment.cc | Loading commit data... | |
thread_storage_sync.cc | Loading commit data... |