提交 b6722918 编写于 作者: M minqiyang

Change to PYBIND11_MODULE because the deprecation of PYBIND11_PLUGIN

test=develop
上级 81994e84
...@@ -86,7 +86,7 @@ bool IsCompiledWithDIST() { ...@@ -86,7 +86,7 @@ bool IsCompiledWithDIST() {
#endif #endif
} }
PYBIND11_PLUGIN(core) { PYBIND11_MODULE(core) {
// Not used, just make sure cpu_info.cc is linked. // Not used, just make sure cpu_info.cc is linked.
paddle::platform::CpuTotalPhysicalMemory(); paddle::platform::CpuTotalPhysicalMemory();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册