* [REFACTOR][NODE][RUNTIME] Move Node to the new Object protocol. This PR removes the original node system, and make node as a subclass of Object. This is a major refactor towards a better unified runtime object system. List of changes in the refactor: - We now hide data_ field, use Downcast explicitly to get a sub-class object. - Removed the node system FFI in python. - Removed the node C API, instead use PackedFunc for list and get attrs. - Change relay::Op::set_attr_type_key(attr_key_name) to relay::Op::set_attr_type<AttrType>(). - This change was necessary because of the new Object registration mechanism. - Subsequent changes to the op registrations - The change revealed a few previous problems that is now fixed. - Patched up a few missing node type registration. - Now we will raise an error if we register object that is not registered. - The original node.h and container.h are kept in the same location. - Calling convention: kObjectHandle now equals the old kNodeHandle, kNodeHandle is removed. - IRFunctor now dispatches on ObjectRef. - Update to the new type checking API: is_type, derived_from are replaced by IsInstance. - Removed .hash member function, instead use C++ convention hasher functors. * Address review comments
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
arg_binder.cc | Loading commit data... | |
arg_binder.h | Loading commit data... | |
bound_checker.cc | Loading commit data... | |
combine_context_call.cc | Loading commit data... | |
coproc_sync.cc | Loading commit data... | |
detect_device.cc | Loading commit data... | |
hoist_if_then_else.cc | Loading commit data... | |
inject_copy_intrin.cc | Loading commit data... | |
inject_double_buffer.cc | Loading commit data... | |
inject_prefetch.cc | Loading commit data... | |
inject_virtual_thread.cc | Loading commit data... | |
inline.cc | Loading commit data... | |
ir_deep_compare.cc | Loading commit data... | |
ir_mutator.cc | Loading commit data... | |
ir_util.cc | Loading commit data... | |
ir_util.h | Loading commit data... | |
ir_visitor.cc | Loading commit data... | |
lift_attr_scope.cc | Loading commit data... | |
loop_partition.cc | Loading commit data... | |
lower_custom_datatypes.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_api.cc | Loading commit data... | |
narrow_channel_access.cc | Loading commit data... | |
remap_thread_axis.cc | Loading commit data... | |
remove_no_op.cc | Loading commit data... | |
rewrite_unsafe_select.cc | Loading commit data... | |
simple_passes.cc | Loading commit data... | |
split_host_device.cc | Loading commit data... | |
split_pipeline.cc | Loading commit data... | |
ssa.cc | Loading commit data... | |
storage_access.cc | Loading commit data... | |
storage_access.h | Loading commit data... | |
storage_flatten.cc | Loading commit data... | |
storage_rewrite.cc | Loading commit data... | |
storage_sync.cc | Loading commit data... | |
unroll_loop.cc | Loading commit data... | |
vectorize_loop.cc | Loading commit data... | |
verify_compact_buffer.cc | Loading commit data... | |
verify_gpu_code.cc | Loading commit data... | |
verify_memory.cc | Loading commit data... |