提交 38eddca9 编写于 作者: F FoREacH

Fixed incorrect macro

上级 3adfdf0c
...@@ -37,7 +37,7 @@ void printVersion(std::ostream& os) { ...@@ -37,7 +37,7 @@ void printVersion(std::ostream& os) {
#define xstr(s) str(s) #define xstr(s) str(s)
#define str(s) #s #define str(s) #s
os << "paddle version: " << str(PADDLE_VERSION) << std::endl os << "paddle version: " << xstr(PADDLE_VERSION) << std::endl
<< std::boolalpha << "\t" << std::boolalpha << "\t"
<< "withGpu: " << version::isWithGpu() << std::endl << "withGpu: " << version::isWithGpu() << std::endl
<< "\t" << "\t"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册