mirror of
https://github.com/facebookresearch/faiss.git
synced 2026-10-12 02:13:36 +00:00
Fix guard clause on get_mem_usage_kb(). (#1371)
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1371 Test Plan: Imported from OSS Reviewed By: mdouze Differential Revision: D23314741 Pulled By: beauby fbshipit-source-id: f64e80fbb24bac25134a3d619845839274db898b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2450f5ee4c
commit
b9cfa46c92
@@ -121,11 +121,11 @@ size_t get_mem_usage_kb ()
|
||||
return sz;
|
||||
}
|
||||
|
||||
#elif __APPLE__
|
||||
#else
|
||||
|
||||
size_t get_mem_usage_kb ()
|
||||
{
|
||||
fprintf(stderr, "WARN: get_mem_usage_kb not implemented on the mac\n");
|
||||
fprintf(stderr, "WARN: get_mem_usage_kb not implemented on current architecture\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user