Fix: Honor ChipCallable orchestration symbols in runtime dlsym#554
Fix: Honor ChipCallable orchestration symbols in runtime dlsym#554yanghaoran29 wants to merge 1 commit intohw-native-sys:mainfrom
Conversation
Issue #549 Analysis: Runtime Hardcodes Orchestration Symbol NamesIssue DescriptionIn the
However, the function names in the orchestration configuration are written to Problems with the Previous Code Implementation
Modification Solution
|
There was a problem hiding this comment.
Code Review
This pull request introduces support for configurable orchestration entry and configuration function names across the runtime and Python bindings. It updates the Callable struct and Runtime classes to store these names, enabling the AicpuExecutor to dynamically resolve symbols via dlsym rather than using hardcoded defaults. Feedback was provided regarding the memory layout of the Callable struct, noting that inserting fields in the middle breaks binary compatibility for serialized artifacts.
7ae75a4 to
5c2ab9f
Compare
Resolve device orchestration entry/config symbols from ChipCallable metadata with safe defaults and keep config lookup optional, while plumbing config_name through callable/runtime/bindings and Python build paths for backward-compatible behavior.
5c2ab9f to
d2dc183
Compare
Resolve device orchestration entry/config symbols from ChipCallable metadata with safe defaults and keep config lookup optional, while plumbing config_name through callable/runtime/bindings and Python build paths for backward-compatible behavior.