Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210130121
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2021
210130121
Commits
cc384697
Commit
cc384697
authored
5 years ago
by
lixinqi
Browse files
Options
Downloads
Patches
Plain Diff
fix an input critical section bug
parent
96ed7c70
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
oneflow/core/job_completer/autotick.cpp
+5
-1
5 additions, 1 deletion
oneflow/core/job_completer/autotick.cpp
oneflow/python/framework/out_remote_blobs_result_box.py
+0
-0
0 additions, 0 deletions
oneflow/python/framework/out_remote_blobs_result_box.py
with
5 additions
and
1 deletion
oneflow/core/job_completer/autotick.cpp
+
5
−
1
View file @
cc384697
...
...
@@ -202,7 +202,11 @@ void ForEachInputCriticalSectionOpNodes(
for
(
OperatorConf
::
OpTypeCase
op_type_case
:
{
OperatorConf
::
kVariableConf
,
OperatorConf
::
kInputConf
})
{
if
(
op_type_case2op_nodes
[
op_type_case
].
empty
())
{
continue
;
}
Handler
(
op_type_case2op_nodes
[
op_type_case
],
GetOpNames
(
op_type_case2op_nodes
[
op_type_case
]));
HashSet
<
const
OpNode
*>
op_nodes
=
op_type_case2op_nodes
[
op_type_case
];
for
(
const
OpNode
*
op_node
:
op_type_case2op_nodes
[
op_type_case
])
{
op_node
->
ForEachNodeOnOutEdge
([
&
](
OpNode
*
out_node
)
{
op_nodes
.
insert
(
out_node
);
});
}
Handler
(
op_nodes
,
GetOpNames
(
op_type_case2op_nodes
[
op_type_case
]));
}
}
...
...
This diff is collapsed.
Click to expand it.
oneflow/python/framework/out_remote_blobs_result.py
→
oneflow/python/framework/out_remote_blobs_result
_box
.py
+
0
−
0
View file @
cc384697
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment