From f4562c3468ad2ebce47de7b7888318fd73606b45 Mon Sep 17 00:00:00 2001 From: Zeng Jinle <32832641+sneaxiy@users.noreply.github.com> Date: Tue, 3 Sep 2019 07:41:42 +0800 Subject: [PATCH] fix typo of allocator, test=develop (#19578) --- paddle/fluid/memory/detail/system_allocator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/memory/detail/system_allocator.cc b/paddle/fluid/memory/detail/system_allocator.cc index 6d68aa165a4..c3d40095c74 100644 --- a/paddle/fluid/memory/detail/system_allocator.cc +++ b/paddle/fluid/memory/detail/system_allocator.cc @@ -123,7 +123,7 @@ void* GPUAllocator::Alloc(size_t* index, size_t size) { " MB GPU memory. Please shrink " "FLAGS_fraction_of_gpu_memory_to_use or " "FLAGS_initial_gpu_memory_in_mb or " - "FLAGS_reallocate_gpu_memory_in_mb" + "FLAGS_reallocate_gpu_memory_in_mb " "environment variable to a lower value. " + "Current FLAGS_fraction_of_gpu_memory_to_use value is " + std::to_string(FLAGS_fraction_of_gpu_memory_to_use) + -- GitLab