Skip to content

Commit

Permalink
Fixing a warp 64 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsPitt committed Oct 30, 2023
1 parent 3284dfd commit 8556a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faiss/hip/utils/MergeNetworkWarp.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ template <typename K, typename V, bool Dir, typename Comp, bool Low>
struct BitonicMergeStep<K, V, 1, Dir, Comp, Low, true> {
static inline __device__ void merge(K k[1], V v[1]) {
// Use warp shuffles
warpBitonicMergeLE16<K, V, 16, Dir, Comp, true>(k[0], v[0]);
warpBitonicMergeLE16<K, V, 32, Dir, Comp, true>(k[0], v[0]);
}
};

Expand Down

0 comments on commit 8556a27

Please sign in to comment.