Skip to content

Conversation

@houj04
Copy link
Contributor

@houj04 houj04 commented Jul 2, 2021

PR types

Others

PR changes

Others

Describe

动态图的时候,如果有op在指定设备上找不到,降级到cpu上运行的时候,应该打点log出来。类似fluid/framework/operator.cc的1258行附近代码。
此外顺便细节改了一下CMakeLists.txt,因为在cmake的3.20版本之后,会报Source file extensions must be explicit的warning出来。把文件后缀补上就不报了。
参考:https://cmake.org/cmake/help/git-stage/policy/CMP0115.html

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jul 2, 2021

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@zhiqiu zhiqiu merged commit a74e01a into PaddlePaddle:develop Jul 2, 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