Merge pull request #612 from cydrain/caiyd_add_more_message_when_start

#605 print more messages when server start
pull/617/head
Jin Hai 2019-11-29 15:27:35 +08:00 committed by GitHub
commit 3566fbbc55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,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

View File

@ -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);