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 |
---|---|---|
.. | ||
.gitignore | Loading commit data... | |
attrs_test.cc | Loading commit data... | |
build_module_test.cc | Loading commit data... | |
container_test.cc | Loading commit data... | |
crt_memory_test.cc | Loading commit data... | |
expr_test.cc | Loading commit data... | |
ir_functor_test.cc | Loading commit data... | |
ir_simplify_test.cc | Loading commit data... | |
ir_ssa_test.cc | Loading commit data... | |
object_protocol_test.cc | Loading commit data... | |
packed_func_test.cc | Loading commit data... | |
pattern_match_test.cc | Loading commit data... | |
relay_build_module_test.cc | Loading commit data... | |
relay_pass_type_infer_test.cc | Loading commit data... | |
relay_transform_sequential.cc | Loading commit data... | |
simple_passes_test.cc | Loading commit data... | |
tensor_test.cc | Loading commit data... | |
threading_backend_test.cc | Loading commit data... | |
topi_ewise_test.cc | Loading commit data... | |
utvm_runtime_standalone_test.cc | Loading commit data... |