Runtime 在特定流程中需要关闭 AICPU kernel timeout monitor,避免设备侧 AICPU 自监控超时干扰由外层 runtime 管理的执行流程。主 AICPU scheduler 和按需启动的 custom-sd 必须保持一致的关闭状态。
来源于 runtime 侧关闭 AICPU monitor 能力接入需求及 runtime PR 3494 的调用时序。
CloseAicpuMonitor
ACPU_DEVICE + group 0 + EVENT_AICPU_MSG
[event_sync_msg][closeFlag]
event_proc_result
/assign
Backgroud(背景信息)
Runtime 在特定流程中需要关闭 AICPU kernel timeout monitor,避免设备侧 AICPU 自监控超时干扰由外层 runtime 管理的执行流程。主 AICPU scheduler 和按需启动的 custom-sd 必须保持一致的关闭状态。
Origin(信息来源)
来源于 runtime 侧关闭 AICPU monitor 能力接入需求及 runtime PR 3494 的调用时序。
Benefit / Necessity (价值/作用)
Design(设计方案)
CloseAicpuMonitorHWTS kernel,接收 runtime 下发的开关并更新主 scheduler 原子状态。ACPU_DEVICE + group 0 + EVENT_AICPU_MSG同步下发关闭状态。[event_sync_msg][closeFlag]布局,custom-sd 完成状态切换后回送event_proc_result。