Skip to content

Commit

Permalink
Add namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
JayjeetAtGithub committed Aug 27, 2024
1 parent ab2fec2 commit cba1369
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@

#include <string>

namespace cudf {
namespace datagen {

namespace {

// Functor for generating random strings
Expand Down Expand Up @@ -239,3 +242,6 @@ template std::unique_ptr<cudf::column> generate_repeat_sequence_column<cudf::siz
cudf::size_type num_rows,
rmm::cuda_stream_view stream,
rmm::device_async_resource_ref mr);

} // namespace datagen
} // namespace cudf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

#include <string>

namespace cudf {
namespace datagen {

/**
* @brief Generate a column of random strings
*
Expand Down Expand Up @@ -110,3 +113,6 @@ std::unique_ptr<cudf::column> generate_repeat_sequence_column(
cudf::size_type num_rows,
rmm::cuda_stream_view stream = cudf::get_default_stream(),
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());

} // namespace datagen
} // namespace cudf
6 changes: 6 additions & 0 deletions cpp/benchmarks/common/cudf_tpch_datagen/table_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@

#include <vector>

namespace cudf {
namespace datagen {

/**
* @brief Add a column of days to a column of timestamp_days
*
Expand Down Expand Up @@ -380,3 +383,6 @@ std::unique_ptr<cudf::table> perform_left_join(cudf::table_view const& left_inpu
stream,
mr);
}

} // namespace datagen
} // namespace cudf
6 changes: 6 additions & 0 deletions cpp/benchmarks/common/cudf_tpch_datagen/table_helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

#include <vector>

namespace cudf {
namespace datagen {

/**
* @brief Add a column of days to a column of timestamp_days
*
Expand Down Expand Up @@ -149,3 +152,6 @@ std::unique_ptr<cudf::table> perform_left_join(
cudf::size_type num_rows,
rmm::cuda_stream_view stream = cudf::get_default_stream(),
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());

} // namespace datagen
} // namespace cudf

0 comments on commit cba1369

Please sign in to comment.