From 7d960bd97ca378562cbc7094e243507828cf10c8 Mon Sep 17 00:00:00 2001 From: hrong Date: Fri, 8 Mar 2024 09:06:42 -0800 Subject: [PATCH] Optimize based on review comments-4rd round --- cpp/include/raft/core/bitmap.cuh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/include/raft/core/bitmap.cuh b/cpp/include/raft/core/bitmap.cuh index da009ef4cc..829c84ed25 100644 --- a/cpp/include/raft/core/bitmap.cuh +++ b/cpp/include/raft/core/bitmap.cuh @@ -110,13 +110,13 @@ struct bitmap_view : public bitset_view { * @brief Get the total number of rows * @return index_t The total number of rows */ - RAFT_INLINE_FUNCTION index_t get_n_rows() const { return rows_; } + inline _RAFT_HOST_DEVICE index_t get_n_rows() const { return rows_; } /** * @brief Get the total number of columns * @return index_t The total number of columns */ - RAFT_INLINE_FUNCTION index_t get_n_cols() const { return cols_; } + inline _RAFT_HOST_DEVICE index_t get_n_cols() const { return cols_; } private: index_t rows_;