Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixbug: mem reuse ctrl safe guard when block has multi-sink #4497

Merged
merged 5 commits into from
Mar 24, 2021

Conversation

chengtbf
Copy link
Contributor

修复BUG: 内存复用的MemBlock,会在复用算法结束时给整个MemBlock连上用于保护临界区的控制边。之前PR #4415 在修改时,仅连接了sorted_tasks的begin和end,但其实可能会有多个sink节点,均需要连上控制边。这个PR修复了此BUG。

@simonJJJ
Copy link
Contributor

已测maskrcnn, 没问题

@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 24, 2021 11:48
@oneflow-ci-bot oneflow-ci-bot self-requested a review March 24, 2021 14:06
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 24, 2021 15:58
@oneflow-ci-bot oneflow-ci-bot merged commit 306e0e9 into master Mar 24, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the dev_cc_fixbug_mem_reuse_safe_guard branch March 24, 2021 17:42
liujuncheng pushed a commit that referenced this pull request Jun 3, 2021
Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Former-commit-id: 306e0e9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants