From fd54f29f81075ab01faf8a81b5e5b255496a4073 Mon Sep 17 00:00:00 2001 From: "Artem M. Chirkin" <9253178+achirkin@users.noreply.github.com> Date: Fri, 10 Dec 2021 11:51:19 +0100 Subject: [PATCH] Fix using incorrect macro RAFT_CHECK_CUDA in place of RAFT_CUDA_TRY (#415) Fix the incorrect macro slipped in during refactoring in https://github.com/rapidsai/raft/commit/2ecdd34a6f0b878fe91312bf0156a3e70240fc7f (build fails when in debug mode). Authors: - Artem M. Chirkin (https://github.com/achirkin) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: https://github.com/rapidsai/raft/pull/415 --- cpp/test/sparse/csr_row_slice.cu | 2 +- cpp/test/sparse/csr_to_dense.cu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/test/sparse/csr_row_slice.cu b/cpp/test/sparse/csr_row_slice.cu index c8c593790f..e37827d18d 100644 --- a/cpp/test/sparse/csr_row_slice.cu +++ b/cpp/test/sparse/csr_row_slice.cu @@ -124,7 +124,7 @@ class CSRRowSliceTest : public ::testing::TestWithParam out_ref_h = params.out_ref_h; update_device(out_ref.data(), out_ref_h.data(), out_ref_h.size(), stream); - RAFT_CHECK_CUDA(cudaStreamSynchronize(stream)); + RAFT_CUDA_TRY(cudaStreamSynchronize(stream)); } void SetUp() override