From 00adc7d70fdd86d34d12a79e66212306c2fa5fc1 Mon Sep 17 00:00:00 2001 From: divyegala Date: Mon, 5 Feb 2024 15:57:38 -0800 Subject: [PATCH 1/2] launch on stream --- cpp/include/raft/stats/detail/neighborhood_recall.cuh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/include/raft/stats/detail/neighborhood_recall.cuh b/cpp/include/raft/stats/detail/neighborhood_recall.cuh index 11d0448167..9626486f51 100644 --- a/cpp/include/raft/stats/detail/neighborhood_recall.cuh +++ b/cpp/include/raft/stats/detail/neighborhood_recall.cuh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023, NVIDIA CORPORATION. + * Copyright (c) 2023-2024, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ #pragma once +#include #include #include #include @@ -108,7 +109,7 @@ void neighborhood_recall( auto constexpr kThreadsPerBlock = 32; auto const num_blocks = indices.extent(0); - neighborhood_recall<<>>( + neighborhood_recall<<>>( indices, ref_indices, distances, ref_distances, recall_score, eps); } From 7a7ee00896010c34e82c3b1991ec511de4665b76 Mon Sep 17 00:00:00 2001 From: divyegala Date: Mon, 5 Feb 2024 16:02:20 -0800 Subject: [PATCH 2/2] fix style --- cpp/include/raft/stats/detail/neighborhood_recall.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/include/raft/stats/detail/neighborhood_recall.cuh b/cpp/include/raft/stats/detail/neighborhood_recall.cuh index 9626486f51..3f05225e74 100644 --- a/cpp/include/raft/stats/detail/neighborhood_recall.cuh +++ b/cpp/include/raft/stats/detail/neighborhood_recall.cuh @@ -16,7 +16,6 @@ #pragma once -#include #include #include #include @@ -24,6 +23,7 @@ #include #include #include +#include #include #include