From b3ab15a7abed52a7b70d74fd7b9642b2ca0ca7b1 Mon Sep 17 00:00:00 2001 From: liaogang Date: Fri, 18 Aug 2017 17:39:10 +0800 Subject: [PATCH] follow comments --- paddle/platform/gpu_info.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paddle/platform/gpu_info.h b/paddle/platform/gpu_info.h index 6a99838241..ed2420b874 100644 --- a/paddle/platform/gpu_info.h +++ b/paddle/platform/gpu_info.h @@ -24,7 +24,8 @@ namespace paddle { namespace platform { //! Environment variable: fraction of GPU memory to use on each device. -const std::string kEnvFractionGpuMemoryToUse = "FRACTION_GPU_MEMORY_TO_USE"; +const std::string kEnvFractionGpuMemoryToUse = + "PADDLE_FRACTION_GPU_MEMORY_TO_USE"; //! Get the total number of GPU devices in system. int GetDeviceCount(); -- GitLab