From 59f17fcc5965656ee3852275dab759f1cb67d8c4 Mon Sep 17 00:00:00 2001 From: "yudong.cai" Date: Fri, 29 Nov 2019 15:02:13 +0800 Subject: [PATCH] #605 print more messages when server start --- CHANGELOG.md | 1 + core/src/server/Config.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 594e886904..b87df27d1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ Please mark all change in change log and use the ticket from JIRA. - \#488 - Add log in scheduler/optimizer - \#502 - C++ SDK support IVFPQ and SPTAG - \#560 - Add version in server config file +- \#605 - Print more messages when server start ## Improvement - \#255 - Add ivfsq8 test report detailed version diff --git a/core/src/server/Config.cpp b/core/src/server/Config.cpp index cd9b264fcd..6643841fcc 100644 --- a/core/src/server/Config.cpp +++ b/core/src/server/Config.cpp @@ -205,6 +205,7 @@ Config::ValidateConfig() { return s; } + std::cout << "GPU resources " << (gpu_resource_enable ? "ENABLED !" : "DISABLED !") << std::endl; if (gpu_resource_enable) { int64_t resource_cache_capacity; s = GetGpuResourceConfigCacheCapacity(resource_cache_capacity);