diff --git a/cpp/include/cudf/column/column.hpp b/cpp/include/cudf/column/column.hpp index c02991051d9..178fc92b399 100644 --- a/cpp/include/cudf/column/column.hpp +++ b/cpp/include/cudf/column/column.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2022, NVIDIA CORPORATION. + * Copyright (c) 2019-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -259,7 +259,7 @@ class column { * @brief Returns a reference to the specified child * * @param child_index Index of the desired child - * @return column& Reference to the desired child + * @return Reference to the desired child */ column& child(size_type child_index) noexcept { return *_children[child_index]; }; @@ -267,7 +267,7 @@ class column { * @brief Returns a const reference to the specified child * * @param child_index Index of the desired child - * @return column const& Const reference to the desired child + * @return Const reference to the desired child */ [[nodiscard]] column const& child(size_type child_index) const noexcept { @@ -306,7 +306,7 @@ class column { * @brief Creates an immutable, non-owning view of the column's data and * children. * - * @return column_view The immutable, non-owning view + * @return The immutable, non-owning view */ [[nodiscard]] column_view view() const; @@ -316,7 +316,7 @@ class column { * This allows passing a `column` object directly into a function that * requires a `column_view`. The conversion is automatic. * - * @return column_view Immutable, non-owning `column_view` + * @return Immutable, non-owning `column_view` */ operator column_view() const { return this->view(); }; @@ -330,7 +330,7 @@ class column { * if not, the null count will be recomputed on the next invocation of *`null_count()`. * - * @return mutable_column_view The mutable, non-owning view + * @return The mutable, non-owning view */ mutable_column_view mutable_view(); @@ -346,7 +346,7 @@ class column { * Otherwise, the null count will be recomputed on the next invocation of * `null_count()`. * - * @return mutable_column_view Mutable, non-owning `mutable_column_view` + * @return Mutable, non-owning `mutable_column_view` */ operator mutable_column_view() { return this->mutable_view(); }; diff --git a/cpp/include/cudf/column/column_device_view.cuh b/cpp/include/cudf/column/column_device_view.cuh index 1361866d0aa..b3e6ad0b99f 100644 --- a/cpp/include/cudf/column/column_device_view.cuh +++ b/cpp/include/cudf/column/column_device_view.cuh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2022, NVIDIA CORPORATION. + * Copyright (c) 2019-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -129,7 +129,7 @@ class alignas(16) column_device_view_base { * or `std::is_same_v` are true. * * @tparam The type to cast to - * @return T const* Typed pointer to underlying data + * @return Typed pointer to underlying data */ template or is_rep_layout_compatible())> @@ -151,7 +151,7 @@ class alignas(16) column_device_view_base { * false. * * @tparam T The type to cast to - * @return T const* Typed pointer to underlying data, including the offset + * @return Typed pointer to underlying data, including the offset */ template ())> [[nodiscard]] CUDF_HOST_DEVICE T const* data() const noexcept @@ -990,7 +990,7 @@ class alignas(16) mutable_column_device_view : public detail::column_device_view * `data()`. * * @tparam The type to cast to - * @return T* Typed pointer to underlying data + * @return Typed pointer to underlying data */ template or is_rep_layout_compatible())> @@ -1009,7 +1009,7 @@ class alignas(16) mutable_column_device_view : public detail::column_device_view * @note If `offset() == 0`, then `head() == data()` * * @tparam T The type to cast to - * @return T* Typed pointer to underlying data, including the offset + * @return Typed pointer to underlying data, including the offset */ template ())> CUDF_HOST_DEVICE T* data() const noexcept @@ -1078,7 +1078,7 @@ class alignas(16) mutable_column_device_view : public detail::column_device_view * `mutable_column_device_view::has_element_accessor()` is false. * * @tparam T The desired type - * @return T* Pointer to the first element after casting + * @return Pointer to the first element after casting */ template ())> iterator begin() @@ -1094,7 +1094,7 @@ class alignas(16) mutable_column_device_view : public detail::column_device_view * `mutable_column_device_view::has_element_accessor()` is false. * * @tparam T The desired type - * @return T const* Pointer to one past the last element after casting + * @return Pointer to one past the last element after casting */ template ())> iterator end() @@ -1106,7 +1106,7 @@ class alignas(16) mutable_column_device_view : public detail::column_device_view * @brief Returns the specified child * * @param child_index The index of the desired child - * @return column_view The requested child `column_view` + * @return The requested child `column_view` */ [[nodiscard]] __device__ mutable_column_device_view child(size_type child_index) const noexcept { @@ -1173,7 +1173,7 @@ class alignas(16) mutable_column_device_view : public detail::column_device_view * device view of the specified column and it's children. * * @param source_view The `column_view` to use for this calculation. - * @return size_t The size in bytes of the amount of memory needed to hold a + * @return The size in bytes of the amount of memory needed to hold a * device view of the specified column and it's children */ static std::size_t extent(mutable_column_view source_view); diff --git a/cpp/include/cudf/column/column_view.hpp b/cpp/include/cudf/column/column_view.hpp index 217f88e67f9..4889a62bbe4 100644 --- a/cpp/include/cudf/column/column_view.hpp +++ b/cpp/include/cudf/column/column_view.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2022, NVIDIA CORPORATION. + * Copyright (c) 2019-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,7 +66,7 @@ class column_view_base { * or `std::is_same_v` are true. * * @tparam The type to cast to - * @return T const* Typed pointer to underlying data + * @return Typed pointer to underlying data */ template or is_rep_layout_compatible())> @@ -85,7 +85,7 @@ class column_view_base { * false. * * @tparam T The type to cast to - * @return T const* Typed pointer to underlying data, including the offset + * @return Typed pointer to underlying data, including the offset */ template ())> T const* data() const noexcept @@ -101,7 +101,7 @@ class column_view_base { * false. * * @tparam T The desired type - * @return T const* Pointer to the first element after casting + * @return Pointer to the first element after casting */ template ())> T const* begin() const noexcept @@ -117,7 +117,7 @@ class column_view_base { * false. * * @tparam T The desired type - * @return T const* Pointer to one past the last element after casting + * @return Pointer to one past the last element after casting */ template ())> T const* end() const noexcept @@ -389,7 +389,7 @@ class column_view : public detail::column_view_base { * @brief Returns the specified child * * @param child_index The index of the desired child - * @return column_view The requested child `column_view` + * @return The requested child `column_view` */ [[nodiscard]] column_view child(size_type child_index) const noexcept { @@ -553,7 +553,7 @@ class mutable_column_view : public detail::column_view_base { * column, and instead, accessing the elements should be done via `data()`. * * @tparam The type to cast to - * @return T* Typed pointer to underlying data + * @return Typed pointer to underlying data */ template or is_rep_layout_compatible())> @@ -572,7 +572,7 @@ class mutable_column_view : public detail::column_view_base { * @note If `offset() == 0`, then `head() == data()` * * @tparam T The type to cast to - * @return T* Typed pointer to underlying data, including the offset + * @return Typed pointer to underlying data, including the offset */ template ())> T* data() const noexcept @@ -588,7 +588,7 @@ class mutable_column_view : public detail::column_view_base { * false. * * @tparam T The desired type - * @return T* Pointer to the first element after casting + * @return Pointer to the first element after casting */ template ())> T* begin() const noexcept @@ -604,7 +604,7 @@ class mutable_column_view : public detail::column_view_base { * false. * * @tparam T The desired type - * @return T* Pointer to one past the last element after casting + * @return Pointer to one past the last element after casting */ template ())> T* end() const noexcept @@ -639,7 +639,7 @@ class mutable_column_view : public detail::column_view_base { * @brief Returns a reference to the specified child * * @param child_index The index of the desired child - * @return mutable_column_view The requested child `mutable_column_view` + * @return The requested child `mutable_column_view` */ [[nodiscard]] mutable_column_view child(size_type child_index) const noexcept { @@ -670,7 +670,7 @@ class mutable_column_view : public detail::column_view_base { /** * @brief Converts a mutable view into an immutable view * - * @return column_view An immutable view of the mutable view's elements + * @return An immutable view of the mutable view's elements */ operator column_view() const; @@ -684,7 +684,7 @@ class mutable_column_view : public detail::column_view_base { * @brief Counts the number of descendants of the specified parent. * * @param parent The parent whose descendants will be counted - * @return size_type The number of descendants of the parent + * @return The number of descendants of the parent */ size_type count_descendants(column_view parent); diff --git a/cpp/include/cudf/concatenate.hpp b/cpp/include/cudf/concatenate.hpp index b20c97b3c31..2b4eee607e2 100644 --- a/cpp/include/cudf/concatenate.hpp +++ b/cpp/include/cudf/concatenate.hpp @@ -40,8 +40,7 @@ namespace cudf { * * @param views host_span of column views whose bitmasks will be concatenated * @param mr Device memory resource used for allocating the new device_buffer - * @return rmm::device_buffer A `device_buffer` containing the bitmasks of all - * the column views in the views vector + * @return A `device_buffer` containing the bitmasks of all the column views in the views vector */ rmm::device_buffer concatenate_masks( host_span views, diff --git a/cpp/include/cudf/copying.hpp b/cpp/include/cudf/copying.hpp index 63c66335d2d..d5a3c930853 100644 --- a/cpp/include/cudf/copying.hpp +++ b/cpp/include/cudf/copying.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2022, NVIDIA CORPORATION. + * Copyright (c) 2018-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,7 +78,7 @@ enum class out_of_bounds_policy : bool { * better performance. If `policy` is set to `DONT_CHECK` and there are out-of-bounds indices * in the gather map, the behavior is undefined. Defaults to `DONT_CHECK`. * @param[in] mr Device memory resource used to allocate the returned table's device memory - * @return std::unique_ptr Result of the gather + * @return Result of the gather */ std::unique_ptr
gather( table_view const& source_table, @@ -211,7 +211,7 @@ enum class mask_allocation_policy { * @brief Initializes and returns an empty column of the same type as the `input`. * * @param[in] input Immutable view of input column to emulate - * @return std::unique_ptr An empty column of same type as `input` + * @return An empty column of same type as `input` */ std::unique_ptr empty_like(column_view const& input); @@ -219,7 +219,7 @@ std::unique_ptr empty_like(column_view const& input); * @brief Initializes and returns an empty column of the same type as the `input`. * * @param[in] input Scalar to emulate - * @return std::unique_ptr An empty column of same type as `input` + * @return An empty column of same type as `input` */ std::unique_ptr empty_like(scalar const& input); @@ -264,7 +264,7 @@ std::unique_ptr allocate_like( * memory for the column's data or bitmask. * * @param[in] input_table Immutable view of input table to emulate - * @return std::unique_ptr
A table of empty columns with the same types as the columns in + * @return A table of empty columns with the same types as the columns in * `input_table` */ std::unique_ptr
empty_like(table_view const& input_table); @@ -333,7 +333,7 @@ void copy_range_in_place(column_view const& source, * (exclusive) * @param target_begin The starting index of the target range (inclusive) * @param mr Device memory resource used to allocate the returned column's device memory - * @return std::unique_ptr The result target column + * @return The result target column */ std::unique_ptr copy_range( column_view const& source, @@ -920,7 +920,7 @@ std::unique_ptr
boolean_mask_scatter( * @param input Column view to get the element from * @param index Index into `input` to get the element at * @param mr Device memory resource used to allocate the returned scalar's device memory - * @return std::unique_ptr Scalar containing the single value + * @return Scalar containing the single value */ std::unique_ptr get_element( column_view const& input, @@ -960,7 +960,7 @@ enum class sample_with_replacement : bool { * @param seed Seed value to initiate random number generator * @param mr Device memory resource used to allocate the returned table's device memory * - * @return std::unique_ptr
Table containing samples from `input` + * @return Table containing samples from `input` */ std::unique_ptr
sample( table_view const& input, diff --git a/cpp/include/cudf/io/data_sink.hpp b/cpp/include/cudf/io/data_sink.hpp index cf3e94029be..0be2935b84c 100644 --- a/cpp/include/cudf/io/data_sink.hpp +++ b/cpp/include/cudf/io/data_sink.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2022, NVIDIA CORPORATION. + * Copyright (c) 2020-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -123,7 +123,7 @@ class data_sink { * instead of write() when possible. However, it is still possible to receive * write() calls as well. * - * @return bool If this writer supports device_write() calls + * @return If this writer supports device_write() calls */ [[nodiscard]] virtual bool supports_device_write() const { return false; } @@ -194,7 +194,7 @@ class data_sink { /** * @pure @brief Returns the total number of bytes written into this sink * - * @return size_t Total number of bytes written into this sink + * @return Total number of bytes written into this sink */ virtual size_t bytes_written() = 0; }; diff --git a/cpp/include/cudf/io/datasource.hpp b/cpp/include/cudf/io/datasource.hpp index a0ef2155f7d..12b8377bff2 100644 --- a/cpp/include/cudf/io/datasource.hpp +++ b/cpp/include/cudf/io/datasource.hpp @@ -296,14 +296,14 @@ class datasource { /** * @brief Returns the size of the data in the source. * - * @return size_t The size of the source data in bytes + * @return The size of the source data in bytes */ [[nodiscard]] virtual size_t size() const = 0; /** * @brief Returns whether the source contains any data. * - * @return bool True if there is data, False otherwise + * @return True if there is data, False otherwise */ [[nodiscard]] virtual bool is_empty() const { return size() == 0; } diff --git a/cpp/include/cudf/lists/contains.hpp b/cpp/include/cudf/lists/contains.hpp index a9f06bf399c..fbe931f945d 100644 --- a/cpp/include/cudf/lists/contains.hpp +++ b/cpp/include/cudf/lists/contains.hpp @@ -43,7 +43,7 @@ namespace lists { * @param lists Lists column whose `n` rows are to be searched * @param search_key The scalar key to be looked up in each list row * @param mr Device memory resource used to allocate the returned column's device memory. - * @return std::unique_ptr BOOL8 column of `n` rows with the result of the lookup + * @return BOOL8 column of `n` rows with the result of the lookup */ std::unique_ptr contains( cudf::lists_column_view const& lists, @@ -65,7 +65,7 @@ std::unique_ptr contains( * @param lists Lists column whose `n` rows are to be searched * @param search_keys Column of elements to be looked up in each list row * @param mr Device memory resource used to allocate the returned column's device memory. - * @return std::unique_ptr BOOL8 column of `n` rows with the result of the lookup + * @return BOOL8 column of `n` rows with the result of the lookup */ std::unique_ptr contains( cudf::lists_column_view const& lists, @@ -86,7 +86,7 @@ std::unique_ptr contains( * * @param lists Lists column whose `n` rows are to be searched * @param mr Device memory resource used to allocate the returned column's device memory. - * @return std::unique_ptr BOOL8 column of `n` rows with the result of the lookup + * @return BOOL8 column of `n` rows with the result of the lookup */ std::unique_ptr contains_nulls( cudf::lists_column_view const& lists, @@ -124,7 +124,7 @@ enum class duplicate_find_option : int32_t { * @param find_option Whether to return the position of the first match (`FIND_FIRST`) or * last (`FIND_LAST`) * @param mr Device memory resource used to allocate the returned column's device memory. - * @return std::unique_ptr INT32 column of `n` rows with the location of the `search_key` + * @return INT32 column of `n` rows with the location of the `search_key` * * @throw cudf::data_type_error If `search_keys` type does not match the element type in `lists` */ @@ -158,7 +158,7 @@ std::unique_ptr index_of( * @param find_option Whether to return the position of the first match (`FIND_FIRST`) or * last (`FIND_LAST`) * @param mr Device memory resource used to allocate the returned column's device memory. - * @return std::unique_ptr INT32 column of `n` rows with the location of the `search_key` + * @return INT32 column of `n` rows with the location of the `search_key` * * @throw cudf::logic_error If `search_keys` does not match `lists` in its number of rows * @throw cudf::data_type_error If `search_keys` type does not match the element type in `lists` diff --git a/cpp/include/cudf/lists/lists_column_view.hpp b/cpp/include/cudf/lists/lists_column_view.hpp index 6b74a0e600a..336214e3934 100644 --- a/cpp/include/cudf/lists/lists_column_view.hpp +++ b/cpp/include/cudf/lists/lists_column_view.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2022, NVIDIA CORPORATION. + * Copyright (c) 2020-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -115,7 +115,7 @@ class lists_column_view : private column_view { /** * @brief Return first offset (accounting for column offset) * - * @return int32_t const* Pointer to the first offset + * @return Pointer to the first offset */ [[nodiscard]] offset_iterator offsets_begin() const noexcept { @@ -130,7 +130,7 @@ class lists_column_view : private column_view { * be computed using the size of the offsets() child column, which is also the offsets of the * entire original (non-sliced) lists column. * - * @return int32_t const* Pointer to one past the last offset + * @return Pointer to one past the last offset */ [[nodiscard]] offset_iterator offsets_end() const noexcept { diff --git a/cpp/include/cudf/null_mask.hpp b/cpp/include/cudf/null_mask.hpp index bd4ce28a2ef..360006c1eea 100644 --- a/cpp/include/cudf/null_mask.hpp +++ b/cpp/include/cudf/null_mask.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2022, NVIDIA CORPORATION. + * Copyright (c) 2019-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ namespace cudf { * * @param state The state of the null mask * @param size The number of elements represented by the mask - * @return size_type The count of null elements + * @return The count of null elements */ size_type state_null_count(mask_state state, size_type size); @@ -52,7 +52,7 @@ size_type state_null_count(mask_state state, size_type size); * @param number_of_bits The number of bits that need to be represented * @param padding_boundary The value returned will be rounded up to a multiple * of this value - * @return std::size_t The necessary number of bytes + * @return The necessary number of bytes */ std::size_t bitmask_allocation_size_bytes(size_type number_of_bits, std::size_t padding_boundary = 64); @@ -68,7 +68,7 @@ std::size_t bitmask_allocation_size_bytes(size_type number_of_bits, * in a bitmask and ignore the padding/slack bits. * * @param number_of_bits The number of bits that need to be represented - * @return size_type The necessary number of `bitmask_type` elements + * @return The necessary number of `bitmask_type` elements */ size_type num_bitmask_words(size_type number_of_bits); @@ -79,7 +79,7 @@ size_type num_bitmask_words(size_type number_of_bits); * @param size The number of elements to be represented by the mask * @param state The desired state of the mask * @param mr Device memory resource used to allocate the returned device_buffer - * @return rmm::device_buffer A `device_buffer` for use as a null bitmask + * @return A `device_buffer` for use as a null bitmask * satisfying the desired size and state */ rmm::device_buffer create_null_mask( @@ -114,7 +114,7 @@ void set_null_mask(bitmask_type* bitmask, size_type begin_bit, size_type end_bit * @param begin_bit Index of the first bit to be copied (inclusive) * @param end_bit Index of the last bit to be copied (exclusive) * @param mr Device memory resource used to allocate the returned device_buffer - * @return rmm::device_buffer A `device_buffer` containing the bits + * @return A `device_buffer` containing the bits * `[begin_bit, end_bit)` from `mask`. */ rmm::device_buffer copy_bitmask( @@ -131,7 +131,7 @@ rmm::device_buffer copy_bitmask( * * @param view Column view whose bitmask needs to be copied * @param mr Device memory resource used to allocate the returned device_buffer - * @return rmm::device_buffer A `device_buffer` containing the bits + * @return A `device_buffer` containing the bits * `[view.offset(), view.offset() + view.size())` from `view`'s bitmask. */ rmm::device_buffer copy_bitmask( diff --git a/cpp/include/cudf/round.hpp b/cpp/include/cudf/round.hpp index 29e5c1ab808..030d3d42773 100644 --- a/cpp/include/cudf/round.hpp +++ b/cpp/include/cudf/round.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2022, NVIDIA CORPORATION. + * Copyright (c) 2020-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -67,7 +67,7 @@ enum class rounding_method : int32_t { HALF_UP, HALF_EVEN }; * @param method Rounding method * @param mr Device memory resource used to allocate the returned column's device memory * - * @return std::unique_ptr Column with each of the values rounded + * @return Column with each of the values rounded */ std::unique_ptr round( column_view const& input, diff --git a/cpp/include/cudf/sorting.hpp b/cpp/include/cudf/sorting.hpp index f43089210fd..922bed3b1ea 100644 --- a/cpp/include/cudf/sorting.hpp +++ b/cpp/include/cudf/sorting.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2022, NVIDIA CORPORATION. + * Copyright (c) 2019-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -190,10 +190,9 @@ std::unique_ptr
stable_sort_by_key( * for column * @param percentage flag to convert ranks to percentage in range (0,1] * @param mr Device memory resource used to allocate the returned column's device memory - * @return std::unique_ptr A column of containing the rank of the each - * element of the column of `input`. The output column type will be `size_type` - * column by default or else `double` when `method=rank_method::AVERAGE` or - *`percentage=True` + * @return A column of containing the rank of the each element of the column of `input`. The output + * column type will be `size_type`column by default or else `double` when + * `method=rank_method::AVERAGE` or `percentage=True` */ std::unique_ptr rank( column_view const& input, diff --git a/cpp/include/cudf/table/experimental/row_operators.cuh b/cpp/include/cudf/table/experimental/row_operators.cuh index 2a207d2a5c4..58f20adb923 100644 --- a/cpp/include/cudf/table/experimental/row_operators.cuh +++ b/cpp/include/cudf/table/experimental/row_operators.cuh @@ -756,9 +756,8 @@ struct preprocessed_table { /** * @brief Get a device array containing the desired order of each column in the preprocessed table * - * @return std::optional> Device array containing respective column - * orders. If no explicit column orders were specified during the creation of this object then - * this will be `nullopt`. + * @return Device array containing respective column orders. If no explicit column orders were + * specified during the creation of this object then this will be `nullopt`. */ [[nodiscard]] std::optional> column_order() const { @@ -770,9 +769,8 @@ struct preprocessed_table { * @brief Get a device array containing the desired null precedence of each column in the * preprocessed table * - * @return std::optional> Device array containing respective column - * null precedence. If no explicit column null precedences were specified during the creation of - * this object then this will be `nullopt`. + * @return Device array containing respective column null precedence. If no explicit column null + * precedences were specified during the creation of this object then this will be `nullopt`. */ [[nodiscard]] std::optional> null_precedence() const { diff --git a/cpp/include/cudf/transform.hpp b/cpp/include/cudf/transform.hpp index 969bec84716..412fe17ef26 100644 --- a/cpp/include/cudf/transform.hpp +++ b/cpp/include/cudf/transform.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2022, NVIDIA CORPORATION. + * Copyright (c) 2019-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,7 +82,7 @@ std::pair, size_type> nans_to_nulls( * @param table The table used for expression evaluation * @param expr The root of the expression tree * @param mr Device memory resource - * @return std::unique_ptr Output column + * @return Output column */ std::unique_ptr compute_column( table_view const& table, diff --git a/cpp/include/cudf/types.hpp b/cpp/include/cudf/types.hpp index 8a1e4c9aee7..3bc1f9d6da7 100644 --- a/cpp/include/cudf/types.hpp +++ b/cpp/include/cudf/types.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2022, NVIDIA CORPORATION. + * Copyright (c) 2018-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -89,7 +89,7 @@ using thread_index_type = int64_t; ///< Thread index type in kernels * @tparam T Iterator type * @param f "first" iterator * @param l "last" iterator - * @return size_type The distance between first and last + * @return The distance between first and last */ template size_type distance(T f, T l)