Logo
Explore Help
Register Sign In
mirrors/faiss
1
0
Fork 0
You've already forked faiss
mirror of https://github.com/facebookresearch/faiss.git synced 2025-06-03 21:54:02 +08:00
Code Issues Projects Releases Wiki Activity
faiss/c_api/utils/utils_c.cpp

16 lines
317 B
C++
Raw Normal View History

Enable linting: lint config changes plus arc lint command (#3966) Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3966 This actually enables the linting. Manual changes: - tools/arcanist/lint/fbsource-licenselint-config.toml - tools/arcanist/lint/fbsource-lint-engine.toml Automated changes: `arc lint --apply-patches --take LICENSELINT --paths-cmd 'hg files faiss'` Reviewed By: asadoughi Differential Revision: D64484165 fbshipit-source-id: 4f2f6e953c94ef6ebfea8a5ae035ccfbea65ed04
2024-10-22 09:46:48 -07:00
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
add get_version() for c_api. (#3688) Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3688 Looks like our previous changes only modified the cpp API. Not the c_api like the request wanted. This attempts to add faiss_get_version to c_api Reviewed By: ramilbakhshyiev Differential Revision: D60207739 fbshipit-source-id: 07184aeae92a154bb3f440279595077f002851f3
2024-07-25 23:38:46 -07:00
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// -*- c++ -*-
#include "utils_c.h"
#include <faiss/Index.h>
const char* faiss_get_version() {
return VERSION_STRING;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1194ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API