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

Fix ContextPool get failed in outer cpp target #43910

Merged
merged 2 commits into from
Jun 29, 2022

Conversation

chenwhql
Copy link
Contributor

@chenwhql chenwhql commented Jun 28, 2022

PR types

Bug fixes

PR changes

Others

Describe

Fix ContextPool get failed in outer cpp target

在外部基于paddle开放的phi头文件,编写C++程序,编译为可执行文件使用的场景中,会因为phi中ContextPool没有初始化而报错,本PR增加一下初始化device的调用,对内部使用场景无影响

@paddle-bot-old
Copy link

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@chenwhql chenwhql merged commit d1ac85e into PaddlePaddle:develop Jun 29, 2022
chenwhql added a commit to chenwhql/Paddle that referenced this pull request Aug 8, 2022
phlrain pushed a commit that referenced this pull request Aug 9, 2022
* fix device context init error (#43910)

* Fix core so name mismatch error (#43977)

* fix core avx soname error

* remove print info

* add clip_extra (#44008)

* fix tensor stream error in custom op (#44500)

* fix custom op attr names size error (#44938)
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.

None yet

3 participants