Skip to content

Commit

Permalink
fix build on cuda 11.5 (#1277)
Browse files Browse the repository at this point in the history
On CUDA 11.8 raft currently compiles fine, but with CUDA 11.5 I see unused function parameter warnings, which are currently treated as errors and therefore prevents compilation. This PR reenables compilation on 11.5 CUDA versions by removing the unused parameters

Authors:
  - Ben Frederickson (https://github.com/benfred)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: #1277
  • Loading branch information
benfred authored Feb 14, 2023
1 parent 2347e06 commit 7d6e4dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/include/raft/distance/detail/distance.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ struct DistanceImpl<raft::distance::DistanceType::InnerProduct,
Index_ m,
Index_ n,
Index_ k,
void* workspace,
size_t worksize,
FinalLambda fin_op,
void*,
size_t,
FinalLambda,
bool isRowMajor,
InType)
{
Expand Down

0 comments on commit 7d6e4dc

Please sign in to comment.