Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210130133
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
210130133
Commits
2e96445c
Commit
2e96445c
authored
6 years ago
by
ShawnXuan
Committed by
Jinhui Yuan
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
remove useless box_tmp (#936)
parent
0a0489f4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
oneflow/core/graph/task_graph.cpp
+0
-2
0 additions, 2 deletions
oneflow/core/graph/task_graph.cpp
with
0 additions
and
2 deletions
oneflow/core/graph/task_graph.cpp
+
0
−
2
View file @
2e96445c
...
...
@@ -54,7 +54,6 @@ TaskGraph::TaskGraph(std::unique_ptr<const LogicalGraph>&& logical_gph) {
void TaskGraph::method_name BLD_SUB_TSK_GPH_MTHD_ARGS()
DEFINE_BLD_SUB_TASK_GRAPH_METHOD
(
BldSubTskGphByBoxing
)
{
std
::
vector
<
TaskNode
*>
sorted_out_box_tmp
;
std
::
vector
<
TaskNode
*>*
sorted_out_box
=
nullptr
;
if
(
logical2sorted_out_box
->
find
(
src_logical
)
==
logical2sorted_out_box
->
end
())
{
BuildOutBoxing
(
src_logical
,
sorted_src_comp_tasks
,
&
((
*
logical2sorted_out_box
)[
src_logical
]),
...
...
@@ -62,7 +61,6 @@ DEFINE_BLD_SUB_TASK_GRAPH_METHOD(BldSubTskGphByBoxing) {
}
sorted_out_box
=
&
(
logical2sorted_out_box
->
at
(
src_logical
));
std
::
vector
<
TaskNode
*>
sorted_in_box_tmp
;
std
::
vector
<
TaskNode
*>*
sorted_in_box
=
nullptr
;
if
(
logical2sorted_in_box
->
find
(
dst_logical
)
==
logical2sorted_in_box
->
end
())
{
BuildInBoxing
(
dst_logical
,
sorted_dst_comp_tasks
,
&
((
*
logical2sorted_in_box
)[
dst_logical
]),
...
...
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