Fixing headers as per OSS requirement (#3847)

Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3847

same as title.
Fixing headers as raised in task - P1558157110

Reviewed By: junjieqi

Differential Revision: D62408917

fbshipit-source-id: 652b55dd2ba9617edeb2b05172be0f42291d7035
pull/3812/head
Kumar Saurabh Arora 2024-09-09 22:58:05 -07:00 committed by Facebook GitHub Bot
parent 21dfdbaaa0
commit 6fe4640d5c
7 changed files with 44 additions and 4 deletions

View File

@ -1,4 +1,9 @@
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "RocksDBInvertedLists.h"

View File

@ -1,4 +1,11 @@
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// -*- c++ -*-
#pragma once

View File

@ -1,4 +1,11 @@
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// -*- c++ -*-
#include <exception>
#include <iostream>

View File

@ -1,4 +1,8 @@
#!/bin/bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# go one level up from faiss/gpu
top=$(dirname "${BASH_SOURCE[0]}")/..

View File

@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <faiss/gpu/impl/scan/IVFInterleavedImpl.cuh>
namespace faiss {

View File

@ -1,3 +1,8 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import numpy as np
import unittest
import faiss

View File

@ -1,4 +1,9 @@
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>