From 14f98c88e87caa36589bb6276e4e74fd63ea6ccd Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Thu, 10 Aug 2017 15:54:51 +0800 Subject: [PATCH] Polish comments on paddle/platform/variant.h --- paddle/platform/variant.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/paddle/platform/variant.h b/paddle/platform/variant.h index c5bc45ca72..c2257af1b5 100644 --- a/paddle/platform/variant.h +++ b/paddle/platform/variant.h @@ -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 -- GitLab