Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide visibility of non public symbols #15982

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4f90a11
Remove usage of null related detail functions
robertmaynard Jul 10, 2024
14fdb58
Explicitly export the pre-compiled aggregation templates
robertmaynard Jun 10, 2024
6324f11
Remove unneeded default parameters
robertmaynard Jun 10, 2024
4f3bc20
All cpp/ sources include the respective header
robertmaynard Jun 11, 2024
5126cae
Ensure minimal set of cpp/ functions used by tests are marked public
robertmaynard Jun 11, 2024
19ca57a
nvtext public API is marked as public symbols
robertmaynard Jun 11, 2024
9f0ffd0
cudftestutil public API is marked as public symbols
robertmaynard Jun 11, 2024
e5f59d5
cudf public API is marked as public symbols
robertmaynard Jun 11, 2024
0cb912a
Ensure installed cudf detail API is marked as public symbols
robertmaynard Jun 11, 2024
c99a58c
Add needed visibility patches for CCCL
robertmaynard Jun 11, 2024
0017f41
CMake now builds cudf and test util with hidden vis
robertmaynard Jun 10, 2024
162eb78
Correct style issue found by CI
robertmaynard Jun 12, 2024
7ee6fd7
Mark more detail functions as public
robertmaynard Jul 9, 2024
13f247d
Search src files include respective header
robertmaynard Jul 10, 2024
2b301e3
Restore child_columns_to_device_array
robertmaynard Jul 10, 2024
ae631cf
Added chunked_parquet_reader constructor comments
robertmaynard Jul 10, 2024
26986ef
Correct style issues found by CI
robertmaynard Jul 10, 2024
bc79512
Add missing header so copy symbols get marked as public
robertmaynard Jul 11, 2024
28d34df
Correctly mark all detail functions as public
robertmaynard Jul 11, 2024
df8ba16
Correct style issues found by CI
robertmaynard Jul 11, 2024
ed88b30
Add first pass doc update
robertmaynard Jul 11, 2024
bc85b9f
Update java/src/main/native/src/TableJni.cpp
robertmaynard Jul 11, 2024
d2261b5
Debug java missing symbols
robertmaynard Jul 15, 2024
c127579
Ensure lists::detail::concatenate is public
robertmaynard Jul 15, 2024
97541e6
Ensure include headers are marked with CUDF_EXPORT
robertmaynard Jul 17, 2024
22a6f24
more doc updates
robertmaynard Jul 22, 2024
642713a
Merge branch 'branch-24.08' into fea/hide_visibility_of_non_public_sy…
robertmaynard Jul 22, 2024
cd9d68b
Expose prefect API via CUDF_EXPORT
robertmaynard Jul 23, 2024
9c9200c
Merge branch 'branch-24.08' into fea/hide_visibility_of_non_public_sy…
robertmaynard Jul 23, 2024
90ada43
Expose io::json::detail as they are required by tests
robertmaynard Jul 23, 2024
b012799
Merge branch 'branch-24.08' into fea/hide_visibility_of_non_public_sy…
robertmaynard Jul 24, 2024
3784f33
Merge branch 'branch-24.08' into fea/hide_visibility_of_non_public_sy…
robertmaynard Jul 24, 2024
d76ebb7
Merge branch 'branch-24.08' into fea/hide_visibility_of_non_public_sy…
bdice Jul 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mark more detail functions as public
  • Loading branch information
robertmaynard committed Jul 17, 2024
commit 7ee6fd79f176b66d973b6ff4fe21e72df5b664c3
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/aggregation/aggregation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <numeric>
#include <utility>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

// Visitor pattern
Expand Down Expand Up @@ -1674,4 +1674,4 @@ constexpr inline bool is_valid_aggregation()
bool is_valid_aggregation(data_type source, aggregation::Kind k);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
6 changes: 3 additions & 3 deletions cpp/include/cudf/detail/aggregation/result_cache.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2023, NVIDIA CORPORATION.
* Copyright (c) 2019-2024, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,7 +23,7 @@

#include <unordered_map>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {
struct pair_column_aggregation_equal_to {
bool operator()(std::pair<column_view, aggregation const&> const& lhs,
Expand Down Expand Up @@ -66,4 +66,4 @@ class result_cache {
};

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
5 changes: 3 additions & 2 deletions cpp/include/cudf/detail/binaryop.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@

#include <cudf/binaryop.hpp>
#include <cudf/utilities/default_stream.hpp>
#include <cudf/utilities/export.hpp>

#include <rmm/cuda_stream_view.hpp>
#include <rmm/resource_ref.hpp>

namespace cudf {
namespace CUDF_EXPORT cudf {
//! Inner interfaces and implementations
namespace detail {

Expand Down Expand Up @@ -77,4 +78,4 @@ std::unique_ptr<column> binary_operation(column_view const& lhs,
rmm::cuda_stream_view stream,
rmm::device_async_resource_ref mr);
} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
5 changes: 3 additions & 2 deletions cpp/include/cudf/detail/concatenate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@
#include <cudf/concatenate.hpp>
#include <cudf/table/table_view.hpp>
#include <cudf/utilities/default_stream.hpp>
#include <cudf/utilities/export.hpp>
#include <cudf/utilities/span.hpp>

#include <rmm/cuda_stream_view.hpp>
#include <rmm/resource_ref.hpp>

#include <vector>

namespace cudf {
namespace CUDF_EXPORT cudf {
//! Inner interfaces and implementations
namespace detail {
/**
Expand All @@ -48,4 +49,4 @@ std::unique_ptr<table> concatenate(host_span<table_view const> tables_to_concat,
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
5 changes: 3 additions & 2 deletions cpp/include/cudf/detail/concatenate_masks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@

#include <cudf/column/column_device_view.cuh>
#include <cudf/column/column_view.hpp>
#include <cudf/utilities/export.hpp>
#include <cudf/utilities/span.hpp>

#include <rmm/cuda_stream_view.hpp>
#include <rmm/device_buffer.hpp>
#include <rmm/mr/device/device_memory_resource.hpp>
#include <rmm/resource_ref.hpp>

namespace cudf {
namespace CUDF_EXPORT cudf {
//! Inner interfaces and implementations
namespace detail {

Expand Down Expand Up @@ -69,4 +70,4 @@ rmm::device_buffer concatenate_masks(host_span<column_view const> views,
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/contiguous_split.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <rmm/cuda_stream_view.hpp>
#include <rmm/resource_ref.hpp>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
Expand Down Expand Up @@ -125,4 +125,4 @@ std::vector<uint8_t> pack_metadata(table_view const& table,
metadata_builder& builder);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/copy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include <initializer_list>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {
/**
* @brief Constructs a zero-copy `column_view`/`mutable_column_view` of the
Expand Down Expand Up @@ -280,4 +280,4 @@ std::unique_ptr<column> purge_nonempty_nulls(column_view const& input,
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/fill.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include <memory>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
Expand All @@ -52,4 +52,4 @@ std::unique_ptr<column> fill(column_view const& input,
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
5 changes: 3 additions & 2 deletions cpp/include/cudf/detail/interop.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@
#include <cudf/interop.hpp>
#include <cudf/utilities/default_stream.hpp>
#include <cudf/utilities/error.hpp>
#include <cudf/utilities/export.hpp>

#include <rmm/cuda_stream_view.hpp>

#include <string>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
Expand Down Expand Up @@ -156,4 +157,4 @@ constexpr std::size_t max_precision()
}

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
6 changes: 3 additions & 3 deletions cpp/include/cudf/detail/join.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@

// Forward declaration
namespace cudf::experimental::row::equality {
class preprocessed_table;
class CUDF_EXPORT preprocessed_table;
}

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

// Forward declaration
Expand Down Expand Up @@ -188,4 +188,4 @@ struct hash_join {
rmm::device_async_resource_ref mr) const;
};
} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/label_bins.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <rmm/mr/device/per_device_resource.hpp>
#include <rmm/resource_ref.hpp>

namespace cudf {
namespace CUDF_EXPORT cudf {

namespace detail {

Expand Down Expand Up @@ -55,4 +55,4 @@ std::unique_ptr<column> label_bins(column_view const& input,

/** @} */ // end of group
} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
6 changes: 4 additions & 2 deletions cpp/include/cudf/detail/merge.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@

#pragma once

#include <cudf/utilities/export.hpp>

#include <rmm/device_uvector.hpp>
#include <rmm/resource_ref.hpp>

#include <thrust/pair.h>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
Expand Down Expand Up @@ -59,4 +61,4 @@ std::unique_ptr<cudf::table> merge(std::vector<table_view> const& tables_to_merg
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/null_mask.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include <vector>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
Expand Down Expand Up @@ -287,4 +287,4 @@ void set_all_valid_null_masks(column_view const& input,

} // namespace detail

} // namespace cudf
} // namespace CUDF_EXPORT cudf
5 changes: 3 additions & 2 deletions cpp/include/cudf/detail/quantiles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
#include <cudf/quantiles.hpp>
#include <cudf/tdigest/tdigest_column_view.hpp>
#include <cudf/utilities/default_stream.hpp>
#include <cudf/utilities/export.hpp>

#include <rmm/cuda_stream_view.hpp>
#include <rmm/resource_ref.hpp>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
Expand Down Expand Up @@ -64,4 +65,4 @@ std::unique_ptr<column> percentile_approx(tdigest::tdigest_column_view const& in
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/repeat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <memory>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
Expand All @@ -51,4 +51,4 @@ std::unique_ptr<table> repeat(table_view const& input_table,
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/replace.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <memory>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {
/**
* @copydoc cudf::replace_nulls(column_view const&, column_view const&,
Expand Down Expand Up @@ -102,4 +102,4 @@ std::unique_ptr<column> normalize_nans_and_zeros(column_view const& input,
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/reshape.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <memory>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {
/**
* @copydoc cudf::tile
Expand All @@ -46,4 +46,4 @@ std::unique_ptr<column> interleave_columns(table_view const& input,
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/rolling.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <memory>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
Expand All @@ -49,4 +49,4 @@ std::unique_ptr<column> rolling_window(column_view const& input,
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/round.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <rmm/cuda_stream_view.hpp>
#include <rmm/resource_ref.hpp>

namespace cudf {
namespace CUDF_EXPORT cudf {
//! Inner interfaces and implementations
namespace detail {

Expand All @@ -39,4 +39,4 @@ std::unique_ptr<column> round(column_view const& input,
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/scan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <rmm/cuda_stream_view.hpp>
#include <rmm/resource_ref.hpp>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
Expand Down Expand Up @@ -120,4 +120,4 @@ std::unique_ptr<column> inclusive_one_normalized_percent_rank_scan(
column_view const& order_by, rmm::cuda_stream_view stream, rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
5 changes: 3 additions & 2 deletions cpp/include/cudf/detail/scatter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@
#include <cudf/table/table.hpp>
#include <cudf/table/table_view.hpp>
#include <cudf/utilities/default_stream.hpp>
#include <cudf/utilities/export.hpp>
#include <cudf/utilities/span.hpp>

#include <rmm/cuda_stream_view.hpp>
#include <rmm/resource_ref.hpp>

#include <memory>

namespace cudf {
namespace CUDF_EXPORT cudf {
namespace detail {
/**
* @brief Scatters the rows of the source table into a copy of the target table
Expand Down Expand Up @@ -144,4 +145,4 @@ std::unique_ptr<table> boolean_mask_scatter(
rmm::device_async_resource_ref mr);

} // namespace detail
} // namespace cudf
} // namespace CUDF_EXPORT cudf
7 changes: 5 additions & 2 deletions cpp/include/cudf/detail/search.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
#include <rmm/device_uvector.hpp>
#include <rmm/resource_ref.hpp>

namespace cudf::detail {
namespace CUDF_EXPORT cudf {
namespace detail {

/**
* @copydoc cudf::lower_bound
*
Expand Down Expand Up @@ -100,4 +102,5 @@ rmm::device_uvector<bool> contains(table_view const& haystack,
rmm::cuda_stream_view stream,
rmm::device_async_resource_ref mr);

} // namespace cudf::detail
} // namespace detail
} // namespace CUDF_EXPORT cudf
Loading