Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
viclafargue committed Jul 14, 2023
1 parent 7064703 commit 5e02d7f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions cpp/include/raft/neighbors/ivf_flat-ext.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ instantiate_raft_neighbors_ivf_flat_search(uint8_t, int64_t);
extern template void raft::neighbors::ivf_flat::reconstruct_list_data<T, IdxT>( \
raft::resources const& handle, \
const raft::neighbors::ivf_flat::index<T, IdxT>& index, \
raft::device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
raft::device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
uint32_t offset);

instantiate_raft_neighbors_ivf_flat_reconstruct(float, int64_t);
Expand Down
6 changes: 3 additions & 3 deletions cpp/include/raft_runtime/neighbors/ivf_flat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ namespace raft::runtime::neighbors::ivf_flat {
\
void reconstruct_list_data(raft::resources const& handle, \
const raft::neighbors::ivf_flat::index<T, IdxT>& idx, \
device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
uint32_t offset); \
device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
uint32_t offset); \
\
void serialize_file(raft::resources const& handle, \
const std::string& filename, \
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/neighbors/ivf_flat_reconstruct_float_int64_t.cu
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
template void raft::neighbors::ivf_flat::reconstruct_list_data<T, IdxT>( \
raft::resources const& handle, \
const raft::neighbors::ivf_flat::index<T, IdxT>& idx, \
raft::device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
raft::device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
uint32_t offset);

instantiate_raft_neighbors_ivf_flat_reconstruct(float, int64_t);
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/neighbors/ivf_flat_reconstruct_int8_t_int64_t.cu
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
template void raft::neighbors::ivf_flat::reconstruct_list_data<T, IdxT>( \
raft::resources const& handle, \
const raft::neighbors::ivf_flat::index<T, IdxT>& idx, \
raft::device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
raft::device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
uint32_t offset);

instantiate_raft_neighbors_ivf_flat_reconstruct(int8_t, int64_t);
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/neighbors/ivf_flat_reconstruct_uint8_t_int64_t.cu
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
template void raft::neighbors::ivf_flat::reconstruct_list_data<T, IdxT>( \
raft::resources const& handle, \
const raft::neighbors::ivf_flat::index<T, IdxT>& idx, \
raft::device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
raft::device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
uint32_t offset);

instantiate_raft_neighbors_ivf_flat_reconstruct(uint8_t, int64_t);
Expand Down
6 changes: 3 additions & 3 deletions cpp/src/raft_runtime/neighbors/ivf_flat_build.cu
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ namespace raft::runtime::neighbors::ivf_flat {
\
void reconstruct_list_data(raft::resources const& handle, \
const raft::neighbors::ivf_flat::index<T, IdxT>& idx, \
device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
uint32_t offset) \
device_matrix_view<T, uint32_t, row_major> out_vectors, \
uint32_t label, \
uint32_t offset) \
{ \
raft::neighbors::ivf_flat::reconstruct_list_data<T, IdxT>( \
handle, idx, out_vectors, label, offset); \
Expand Down

0 comments on commit 5e02d7f

Please sign in to comment.