提交 14f98c88 编写于 作者: Y Yu Yang

Polish comments on paddle/platform/variant.h

上级 2df628af
......@@ -19,9 +19,11 @@
#ifndef PADDLE_ONLY_CPU
// Because boost's variadic templates has bug on nvcc, boost will disable
// BOOST_NO_CXX11_VARIADIC_TEMPLATES when GPU enabled on nvcc.
// Disable BOOST_NO_CXX11_VARIADIC_TEMPLATES on gcc/clang to generate same
// variadic template support when GPU enabled on nvcc.
// Define BOOST_NO_CXX11_VARIADIC_TEMPLATES on gcc/clang to generate same
// function symbols.
//
// https://github.com/PaddlePaddle/Paddle/issues/3386
#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES
#define BOOST_NO_CXX11_VARIADIC_TEMPLATES
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册