Skip to content

Commit

Permalink
use span
Browse files Browse the repository at this point in the history
  • Loading branch information
vuule committed Oct 31, 2022
1 parent 77e32f2 commit 8cf2b5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/include/cudf/io/detail/csv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ table_with_metadata read_csv(std::unique_ptr<cudf::io::datasource>&& source,
*/
void write_csv(data_sink* sink,
table_view const& table,
std::vector<std::string> const& column_names,
host_span<std::string const> column_names,
csv_writer_options const& options,
rmm::cuda_stream_view stream,
rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/io/csv/writer_impl.cu
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ struct column_to_strings_fn {
//
void write_chunked_begin(data_sink* out_sink,
table_view const& table,
std::vector<std::string> const& user_column_names,
host_span<std::string const> user_column_names,
csv_writer_options const& options,
rmm::cuda_stream_view stream,
rmm::mr::device_memory_resource* mr)
Expand Down Expand Up @@ -398,7 +398,7 @@ void write_chunked(data_sink* out_sink,

void write_csv(data_sink* out_sink,
table_view const& table,
std::vector<std::string> const& user_column_names,
host_span<std::string const> user_column_names,
csv_writer_options const& options,
rmm::cuda_stream_view stream,
rmm::mr::device_memory_resource* mr)
Expand Down

0 comments on commit 8cf2b5a

Please sign in to comment.