Skip to content

Commit

Permalink
Fixing headers as per OSS requirement (facebookresearch#3847)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebookresearch#3847

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

Reviewed By: junjieqi

Differential Revision: D62408917
  • Loading branch information
kuarora authored and facebook-github-bot committed Sep 10, 2024
1 parent 21dfdba commit ea8663d
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 4 deletions.
7 changes: 6 additions & 1 deletion demos/rocksdb_ivf/RocksDBInvertedLists.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
9 changes: 8 additions & 1 deletion demos/rocksdb_ivf/RocksDBInvertedLists.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
9 changes: 8 additions & 1 deletion demos/rocksdb_ivf/demo_rocksdb_ivf.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
4 changes: 4 additions & 0 deletions faiss/gpu/hipify.sh
Original file line number Diff line number Diff line change
@@ -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]}")/..
Expand Down
7 changes: 7 additions & 0 deletions faiss/gpu/impl/scan/IVFInterleavedScanKernelTemplate.cu
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
5 changes: 5 additions & 0 deletions faiss/gpu/test/test_index_cpu_to_gpu.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 6 additions & 1 deletion tests/test_common_ivf_empty_index.cpp
Original file line number Diff line number Diff line change
@@ -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>

Expand Down

0 comments on commit ea8663d

Please sign in to comment.