From 5e02d7fdfd8f0bb2e16d25f6ffe735acf5b42081 Mon Sep 17 00:00:00 2001 From: viclafargue Date: Fri, 14 Jul 2023 16:47:48 +0200 Subject: [PATCH] Fix style --- cpp/include/raft/neighbors/ivf_flat-ext.cuh | 4 ++-- cpp/include/raft_runtime/neighbors/ivf_flat.hpp | 6 +++--- cpp/src/neighbors/ivf_flat_reconstruct_float_int64_t.cu | 4 ++-- cpp/src/neighbors/ivf_flat_reconstruct_int8_t_int64_t.cu | 4 ++-- cpp/src/neighbors/ivf_flat_reconstruct_uint8_t_int64_t.cu | 4 ++-- cpp/src/raft_runtime/neighbors/ivf_flat_build.cu | 6 +++--- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cpp/include/raft/neighbors/ivf_flat-ext.cuh b/cpp/include/raft/neighbors/ivf_flat-ext.cuh index 1b8fed86d6..2bcb361242 100644 --- a/cpp/include/raft/neighbors/ivf_flat-ext.cuh +++ b/cpp/include/raft/neighbors/ivf_flat-ext.cuh @@ -216,8 +216,8 @@ instantiate_raft_neighbors_ivf_flat_search(uint8_t, int64_t); extern template void raft::neighbors::ivf_flat::reconstruct_list_data( \ raft::resources const& handle, \ const raft::neighbors::ivf_flat::index& index, \ - raft::device_matrix_view out_vectors, \ - uint32_t label, \ + raft::device_matrix_view out_vectors, \ + uint32_t label, \ uint32_t offset); instantiate_raft_neighbors_ivf_flat_reconstruct(float, int64_t); diff --git a/cpp/include/raft_runtime/neighbors/ivf_flat.hpp b/cpp/include/raft_runtime/neighbors/ivf_flat.hpp index b678b1a515..7b6daad427 100644 --- a/cpp/include/raft_runtime/neighbors/ivf_flat.hpp +++ b/cpp/include/raft_runtime/neighbors/ivf_flat.hpp @@ -48,9 +48,9 @@ namespace raft::runtime::neighbors::ivf_flat { \ void reconstruct_list_data(raft::resources const& handle, \ const raft::neighbors::ivf_flat::index& idx, \ - device_matrix_view out_vectors, \ - uint32_t label, \ - uint32_t offset); \ + device_matrix_view out_vectors, \ + uint32_t label, \ + uint32_t offset); \ \ void serialize_file(raft::resources const& handle, \ const std::string& filename, \ diff --git a/cpp/src/neighbors/ivf_flat_reconstruct_float_int64_t.cu b/cpp/src/neighbors/ivf_flat_reconstruct_float_int64_t.cu index d4333ed8aa..d13d2b5829 100644 --- a/cpp/src/neighbors/ivf_flat_reconstruct_float_int64_t.cu +++ b/cpp/src/neighbors/ivf_flat_reconstruct_float_int64_t.cu @@ -29,8 +29,8 @@ template void raft::neighbors::ivf_flat::reconstruct_list_data( \ raft::resources const& handle, \ const raft::neighbors::ivf_flat::index& idx, \ - raft::device_matrix_view out_vectors, \ - uint32_t label, \ + raft::device_matrix_view out_vectors, \ + uint32_t label, \ uint32_t offset); instantiate_raft_neighbors_ivf_flat_reconstruct(float, int64_t); diff --git a/cpp/src/neighbors/ivf_flat_reconstruct_int8_t_int64_t.cu b/cpp/src/neighbors/ivf_flat_reconstruct_int8_t_int64_t.cu index 256f54042c..8940c18209 100644 --- a/cpp/src/neighbors/ivf_flat_reconstruct_int8_t_int64_t.cu +++ b/cpp/src/neighbors/ivf_flat_reconstruct_int8_t_int64_t.cu @@ -29,8 +29,8 @@ template void raft::neighbors::ivf_flat::reconstruct_list_data( \ raft::resources const& handle, \ const raft::neighbors::ivf_flat::index& idx, \ - raft::device_matrix_view out_vectors, \ - uint32_t label, \ + raft::device_matrix_view out_vectors, \ + uint32_t label, \ uint32_t offset); instantiate_raft_neighbors_ivf_flat_reconstruct(int8_t, int64_t); diff --git a/cpp/src/neighbors/ivf_flat_reconstruct_uint8_t_int64_t.cu b/cpp/src/neighbors/ivf_flat_reconstruct_uint8_t_int64_t.cu index bb5028d3e0..8329fe15ff 100644 --- a/cpp/src/neighbors/ivf_flat_reconstruct_uint8_t_int64_t.cu +++ b/cpp/src/neighbors/ivf_flat_reconstruct_uint8_t_int64_t.cu @@ -29,8 +29,8 @@ template void raft::neighbors::ivf_flat::reconstruct_list_data( \ raft::resources const& handle, \ const raft::neighbors::ivf_flat::index& idx, \ - raft::device_matrix_view out_vectors, \ - uint32_t label, \ + raft::device_matrix_view out_vectors, \ + uint32_t label, \ uint32_t offset); instantiate_raft_neighbors_ivf_flat_reconstruct(uint8_t, int64_t); diff --git a/cpp/src/raft_runtime/neighbors/ivf_flat_build.cu b/cpp/src/raft_runtime/neighbors/ivf_flat_build.cu index 0338e177ff..68cf13e704 100644 --- a/cpp/src/raft_runtime/neighbors/ivf_flat_build.cu +++ b/cpp/src/raft_runtime/neighbors/ivf_flat_build.cu @@ -55,9 +55,9 @@ namespace raft::runtime::neighbors::ivf_flat { \ void reconstruct_list_data(raft::resources const& handle, \ const raft::neighbors::ivf_flat::index& idx, \ - device_matrix_view out_vectors, \ - uint32_t label, \ - uint32_t offset) \ + device_matrix_view out_vectors, \ + uint32_t label, \ + uint32_t offset) \ { \ raft::neighbors::ivf_flat::reconstruct_list_data( \ handle, idx, out_vectors, label, offset); \