Skip to content

Remove unnecessary Sync#17201

Merged
chengduoZH merged 1 commit intoPaddlePaddle:developfrom
chengduoZH:refine_scope_buffer
May 5, 2019
Merged

Remove unnecessary Sync#17201
chengduoZH merged 1 commit intoPaddlePaddle:developfrom
chengduoZH:refine_scope_buffer

Conversation

@chengduoZH
Copy link
Contributor

@chengduoZH chengduoZH commented May 5, 2019

It does not need sync all the device when the fetch_tensor is not empty, because there is sync calling in fetch_op_handle.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not need sync all the device when the fetch_tensor is not empty, because there is sync calling in fetch_op_handle.

@chengduoZH chengduoZH requested a review from sneaxiy May 5, 2019 08:31
@chengduoZH chengduoZH force-pushed the refine_scope_buffer branch from fd8ba13 to 593e237 Compare May 5, 2019 08:39
Copy link
Collaborator

@sneaxiy sneaxiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@chengduoZH chengduoZH merged commit 950aec5 into PaddlePaddle:develop May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants