From 7d6e4dc51913d63f7de34c329c4a0cf5464ec18e Mon Sep 17 00:00:00 2001 From: Ben Frederickson Date: Mon, 13 Feb 2023 21:47:34 -0800 Subject: [PATCH] fix build on cuda 11.5 (#1277) 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: https://github.com/rapidsai/raft/pull/1277 --- cpp/include/raft/distance/detail/distance.cuh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/include/raft/distance/detail/distance.cuh b/cpp/include/raft/distance/detail/distance.cuh index f9a85ea627..d2d2b40283 100644 --- a/cpp/include/raft/distance/detail/distance.cuh +++ b/cpp/include/raft/distance/detail/distance.cuh @@ -247,9 +247,9 @@ struct DistanceImpl