The GitHub Actions job "CI" on tvm-ffi.git/static-reg has succeeded.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
74034bca9aefd6a580d8b9ed6a62229ea5cc8483 / tqchen <[email protected]>
[CPP] Remove static line based object reg in favor of ObjectDef

This PR moves static inline registrations of objects in the object reg macros.

Rationale: while the static inline based registration is
convenient and removes the need for explicit registration
this can cause extra space overhead for every dll that includes
the header file even if the class is not used.

Given that reflection::ObjectDef<T> already registers the type index
and static type objects are predefined that we can control, we explicitly
removes the static inline based reg trigger to we can save up possible
binary space and reduce init logic.

This does mean that when an Object is not registered through ObjectDef
the dynamic casting mechanism won't work. But we are OK since expectation
is most dynamic ObjectRef needs to do so for it to be useful.

Report URL: https://github.com/apache/tvm-ffi/actions/runs/18502506348

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to