开发日志[第十周]: rknpu任务调度器正式落地 #12
Dirinkbottle
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
第十周开发日志(3.30-4.5)
工作总结
本周的主要工作是完成
rknpu任务调度器的正式落地。这一周把提交、排队、分发、完成、唤醒这一整条路径实现了,让单次 submit 能在多核上并行推进,并在结束后正确返回到用户态。
提交链接
本周进展
rknpu调度器主路径的搭建,路径为card1 -> scheduler -> queue -> driver.submit,在内核内部为每次 submit 维护独立 waiter,使用户线程可以在提交后挂起等待,并在任务真正结束后被唤醒。kick机制唤醒调度线程,避免提交线程自己承担全部硬件推进逻辑。本周结论
本周已经完成
rknpu任务调度器的主体实现。当前版本具备了完整的阻塞提交、后台 worker 推进、多核 lane 分发、terminal 唤醒能力。Beta Was this translation helpful? Give feedback.
All reactions