config_utils.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 #pragma once
6 
7 #include <cudf/utilities/export.hpp>
8 
9 #include <cstdint>
10 #include <optional>
11 
17 namespace CUDF_EXPORT cudf {
18 namespace io {
20 namespace kvikio_integration {
21 
38 void set_up_kvikio(std::optional<uint32_t> nthreads = std::nullopt);
39 
40 } // namespace kvikio_integration
41 
43 namespace nvcomp_integration {
44 
50 [[nodiscard]] bool is_all_enabled();
51 
57 [[nodiscard]] bool is_stable_enabled();
58 
59 } // namespace nvcomp_integration
60 
62 namespace integrated_memory_optimization {
63 
75 [[nodiscard]] bool is_enabled();
76  // end of group
78 } // namespace integrated_memory_optimization
79 } // namespace io
80 } // namespace CUDF_EXPORT cudf
bool is_stable_enabled()
Returns true if stable nvCOMP use is enabled.
void set_up_kvikio(std::optional< uint32_t > nthreads=std::nullopt)
Set KvikIO parameters.
bool is_enabled()
Returns true if integrated memory optimizations are enabled.
bool is_all_enabled()
Returns true if all nvCOMP uses are enabled.
cuDF interfaces
Definition: host_udf.hpp:27