From 636152d320df96e342ff28ff725ec1b855bbd0c9 Mon Sep 17 00:00:00 2001 From: achirkin Date: Fri, 10 Dec 2021 09:17:19 +0100 Subject: [PATCH] Fix using incorrect macro in couple tests --- 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