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

[X86] improve conv+bias+act profiler #6704

Merged
merged 7 commits into from
Aug 23, 2021

Conversation

chenjiaoAngel
Copy link
Collaborator

1x1s1p0 1,3,112,112; out=32 1,32,112,112; out=32 1,32,224,224; out=32
blas.gemm 0.92254 1.01716 4.32123
now_blas.gemm 0.25896 0.34941 1.89072
improve 256.25% 191.11% 128.55%

@paddle-bot-old
Copy link

Thanks for your contribution!

Comment on lines +117 to +118
col_data = static_cast<float*>(
TargetMalloc(TARGET(kX86), col_size * sizeof(float)));
Copy link
Collaborator

Choose a reason for hiding this comment

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

后面可以考虑复用下

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

好,这样可以减少内存占用

@chenjiaoAngel chenjiaoAngel merged commit 5f77258 into PaddlePaddle:develop Aug 23, 2021
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