Skip to content

Revert "use static variable to do cache instead of thread local in thread frequent switching case#18879

Merged
luotao1 merged 1 commit intoPaddlePaddle:developfrom
LeoZhao-Intel:revert_18428
Jul 30, 2019
Merged

Revert "use static variable to do cache instead of thread local in thread frequent switching case#18879
luotao1 merged 1 commit intoPaddlePaddle:developfrom
LeoZhao-Intel:revert_18428

Conversation

@LeoZhao-Intel
Copy link
Contributor

@LeoZhao-Intel LeoZhao-Intel commented Jul 29, 2019

Revert (#18428)

This reverts commit ce38bb5.

This PR was to fix memory leak in transfer scope caching case for CPU, but new fix #18578 merge to disable transfer scope caching for CPU, and there is no random fail CI on MKLDNN, so
revert this PR.

…read frequent switching case (PaddlePaddle#18428)"

This reverts commit ce38bb5.

test=develop
@luotao1 luotao1 added the Intel label Jul 29, 2019
@luotao1 luotao1 changed the title Revert "use static variable to do cache instead of thread local in th… Revert "use static variable to do cache instead of thread local in thread frequent switching case Jul 30, 2019
Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 10eeed9 into PaddlePaddle:develop Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants