repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/linalg/norm.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/linalg/reduce.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/linalg/reduce_rows_by_key.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/linalg/matrix_vector_op.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/linalg/map_then_reduce.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/matrix/select_k.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/matrix/gather.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/matrix/argmin.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/matrix/main.cpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/common/benchmark.hpp
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/cluster/kmeans.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench/prims
rapidsai_public_repos/raft/cpp/bench/prims/cluster/kmeans_balanced.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/bench
rapidsai_public_repos/raft/cpp/bench/ann/CMakeLists.txt
# ============================================================================= # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.o...
0
rapidsai_public_repos/raft/cpp/bench
rapidsai_public_repos/raft/cpp/bench/ann/README.md
# RAFT CUDA ANN Benchmarks Please see the [ANN Benchmarks](https://docs.rapids.ai/api/raft/stable/cuda_ann_benchmarks.html) section of the RAFT documentation for instructions on building and using the ANN benchmarks.
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_ivf_flat_wrapper.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_cagra_hnswlib.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_cagra.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_cagra_hnswlib_wrapper.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_ivf_pq.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_ann_bench_param_parser.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_ivf_flat.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_ann_bench_utils.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_benchmark.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_ivf_pq_wrapper.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_cagra_wrapper.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/raft/raft_wrapper.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/hnswlib/hnswlib_benchmark.cpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/hnswlib/hnswlib_wrapper.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/ggnn/ggnn_benchmark.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/ggnn/ggnn_wrapper.cuh
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/faiss/faiss_gpu_wrapper.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/faiss/faiss_cpu_wrapper.h
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/faiss/faiss_gpu_benchmark.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/faiss/faiss_cpu_benchmark.cpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/cuda_huge_page_resource.hpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/util.hpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/conf.hpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/ann_types.hpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/thread_pool.hpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/benchmark.cpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/dataset.hpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/cuda_stub.hpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/benchmark.hpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/bench/ann/src
rapidsai_public_repos/raft/cpp/bench/ann/src/common/cuda_pinned_resource.hpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/scripts/analyze_nvcc_log.py
#!/usr/bin/env python3 # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/scripts/__clang_cuda_additional_intrinsics.h
// Copyright (c) 2022, NVIDIA CORPORATION. #ifndef __CLANG_CUDA_ADDITIONAL_INTRINSICS_H__ #define __CLANG_CUDA_ADDITIONAL_INTRINSICS_H__ #ifndef __CUDA__ #error "This file is for CUDA compilation only." #endif // for some of these macros, see cuda_fp16.hpp #if defined(__cplusplus) && (!defined(__CUDA_ARCH__) || (__CUD...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/scripts/include_checker.py
# Copyright (c) 2020-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/scripts/gitutils.py
# Copyright (c) 2020-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/scripts/run-clang-compile.py
# Copyright (c) 2020-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/scripts/run-cmake-format.sh
#!/bin/bash # Copyright (c) 2022, NVIDIA CORPORATION. # This script is a wrapper for cmakelang that may be used with pre-commit. The # wrapping is necessary because RAPIDS libraries split configuration for # cmakelang linters between a local config file and a second config file that's # shared across all of RAPIDS vi...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/scripts/run-clang-tidy.py
# Copyright (c) 2020-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
0
rapidsai_public_repos/raft/cpp/scripts/heuristics
rapidsai_public_repos/raft/cpp/scripts/heuristics/select_k/generate_plots.ipynb
from collections import defaultdict import pandas as pd import json import numpy as np import seaborn as sns import matplotlib.pyplot as plt sns.set_theme()from select_k_dataset import load_dataframe, get_dataset df = load_dataframe("select_k_times.json") df = df[(df.use_memory_pool == True)] df = df[(df.index_type == ...
0
rapidsai_public_repos/raft/cpp/scripts/heuristics
rapidsai_public_repos/raft/cpp/scripts/heuristics/select_k/generate_heuristic.ipynb
from select_k_dataset import load_dataframe, get_dataset import sklearn.tree import numpy as np# load up the timings from the MATRIX_BENCH script into a pandas dataframe df = load_dataframe("select_k_times.json") # we're limiting down to 3 different select_k methods - chosen by # the 'algorithm_selection.ipynb' scrip...
0
rapidsai_public_repos/raft/cpp/scripts/heuristics
rapidsai_public_repos/raft/cpp/scripts/heuristics/select_k/algorithm_selection.ipynb
from select_k_dataset import load_dataframe, get_dataset df = load_dataframe("select_k_times.json") dffrom collections import Counter def rank_algos(df, use_relative_speedup=False): _, y, weights = get_dataset(df) times = Counter() for algo, speedup in zip(y, weights): times[algo] += speedup if us...
0
rapidsai_public_repos/raft/cpp/scripts/heuristics
rapidsai_public_repos/raft/cpp/scripts/heuristics/select_k/select_k_dataset.py
# Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/template/CMakeLists.txt
# ============================================================================= # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.o...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/template/README.md
# Example RAFT Project Template This template project provides a drop-in sample to either start building a new application with, or using RAFT in an existing CMake project. First, please refer to our [installation docs](https://docs.rapids.ai/api/raft/stable/build.html#cuda-gpu-requirements) for the minimum requirem...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/template/build.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. # raft empty project template build script # Abort script on first error set -e PARALLEL_LEVEL=${PARALLEL_LEVEL:=`nproc`} BUILD_TYPE=Release BUILD_DIR=build/ RAFT_REPO_REL="" EXTRA_CMAKE_ARGS="" set -e if [[ ${RAFT_REPO_REL} != "" ]]; then RAFT_REPO_PATH="...
0
rapidsai_public_repos/raft/cpp/template/cmake
rapidsai_public_repos/raft/cpp/template/cmake/thirdparty/fetch_rapids.cmake
# ============================================================================= # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.o...
0
rapidsai_public_repos/raft/cpp/template/cmake
rapidsai_public_repos/raft/cpp/template/cmake/thirdparty/get_raft.cmake
# ============================================================================= # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.o...
0
rapidsai_public_repos/raft/cpp/template
rapidsai_public_repos/raft/cpp/template/src/ivf_flat_example.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/template
rapidsai_public_repos/raft/cpp/template/src/common.cuh
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/template
rapidsai_public_repos/raft/cpp/template/src/cagra_example.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp
rapidsai_public_repos/raft/cpp/cmake/config.json
{ "parse": { "additional_commands": { "CPMFindPackage": { "kwargs": { "NAME": 1, "GITHUB_REPOSITORY": "?", "GIT_TAG": "?", "VERSION": "?", "GIT_SHALLOW": "?", "OPTIONS": "*", "FIND_PACKAGE_ARGUMENTS": "*" } }, ...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/patches/nlohmann_json.patch
--- nlohmann/json.hpp 2021-05-06 11:40:39.770669693 +0800 +++ nlohmann/json_patched.hpp 2021-06-02 18:46:43.849334466 +0800 @@ -16607,6 +16607,21 @@ } } + + template <typename NumberType, + enable_if_t<std::is_signed<NumberType>::value, int> = 0> + bool is_negative_number(NumberType x) + ...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/patches/ggnn.patch
diff --git a/include/ggnn/cache/cuda_simple_knn_sym_cache.cuh b/include/ggnn/cache/cuda_simple_knn_sym_cache.cuh index 890420e..d792903 100644 --- a/include/ggnn/cache/cuda_simple_knn_sym_cache.cuh +++ b/include/ggnn/cache/cuda_simple_knn_sym_cache.cuh @@ -62,7 +62,7 @@ struct SimpleKNNSymCache { ...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/patches/hnswlib.patch
diff --git a/hnswlib/hnswalg.h b/hnswlib/hnswalg.h index e95e0b5..f0fe50a 100644 --- a/hnswlib/hnswalg.h +++ b/hnswlib/hnswalg.h @@ -3,6 +3,7 @@ #include "visited_list_pool.h" #include "hnswlib.h" #include <atomic> +#include <limits> #include <random> #include <stdlib.h> #include <assert.h> @@ -16,6 +17,8 @@ name...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/modules/FindAVX.cmake
# ============================================================================= # Copyright (c) 2016- Facebook, Inc (Adam Paszke) # Copyright (c) 2014- Facebook, Inc (Soumith Chintala) # Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert) # Copyright (c) 2012-2014 Deepmind T...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/modules/ConfigureCUDA.cmake
# ============================================================================= # Copyright (c) 2018-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apa...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_glog.cmake
#============================================================================= # Copyright (c) 2021-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_thrust.cmake
# ============================================================================= # Copyright (c) 2022-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apa...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_spdlog.cmake
# ============================================================================= # Copyright (c) 2021-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apa...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_cutlass.cmake
# ============================================================================= # Copyright (c) 2021-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apa...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_hnswlib.cmake
#============================================================================= # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apa...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_gtest.cmake
#============================================================================= # Copyright (c) 2021-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_nlohmann_json.cmake
#============================================================================= # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apa...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_ggnn.cmake
#============================================================================= # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apa...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_rmm.cmake
#============================================================================= # Copyright (c) 2021-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_fmt.cmake
# ============================================================================= # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.o...
0
rapidsai_public_repos/raft/cpp/cmake
rapidsai_public_repos/raft/cpp/cmake/thirdparty/get_faiss.cmake
#============================================================================= # Copyright (c) 2021-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
0
rapidsai_public_repos/raft/cpp/src
rapidsai_public_repos/raft/cpp/src/util/memory_pool.cpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/random/rmat_rectangular_generator_int_double.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/random/common.cuh
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/random/rmat_rectangular_generator_int64_float.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/random/rmat_rectangular_generator_int_float.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/random/rmat_rectangular_generator_int64_double.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/distance/fused_l2_min_arg.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/distance/pairwise_distance.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/refine_d_int64_t_int8_t.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/brute_force_knn_int64_t_float.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/ivfpq_search_float_int64_t.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/ivfpq_serialize.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/ivfpq_search_uint8_t_int64_t.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/refine_h_int64_t_uint8_t.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/refine_h_int64_t_float.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/ivf_flat_serialize.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/refine_d_int64_t_float.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/ivfpq_build.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/cagra_build.cu
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/raft/cpp/src/raft_runtime
rapidsai_public_repos/raft/cpp/src/raft_runtime/neighbors/ivf_flat_search.cu
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0