Skip to content

Commit 6fe4640

Browse files
kuarorafacebook-github-bot
authored andcommitted
Fixing headers as per OSS requirement (facebookresearch#3847)
Summary: Pull Request resolved: facebookresearch#3847 same as title. Fixing headers as raised in task - P1558157110 Reviewed By: junjieqi Differential Revision: D62408917 fbshipit-source-id: 652b55dd2ba9617edeb2b05172be0f42291d7035
1 parent 21dfdba commit 6fe4640

7 files changed

+44
-4
lines changed

demos/rocksdb_ivf/RocksDBInvertedLists.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
27

38
#include "RocksDBInvertedLists.h"
49

demos/rocksdb_ivf/RocksDBInvertedLists.h

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
8+
// -*- c++ -*-
29

310
#pragma once
411

demos/rocksdb_ivf/demo_rocksdb_ivf.cpp

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
8+
// -*- c++ -*-
29

310
#include <exception>
411
#include <iostream>

faiss/gpu/hipify.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
#
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
26

37
# go one level up from faiss/gpu
48
top=$(dirname "${BASH_SOURCE[0]}")/..

faiss/gpu/impl/scan/IVFInterleavedScanKernelTemplate.cu

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
#include <faiss/gpu/impl/scan/IVFInterleavedImpl.cuh>
29

310
namespace faiss {

faiss/gpu/test/test_index_cpu_to_gpu.py

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

tests/test_common_ivf_empty_index.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
27

38
#include <gtest/gtest.h>
49

0 commit comments

Comments
 (0)