Skip to content

Commit

Permalink
Merge branch 'mixed_semi_join_refactor' of https://github.com/sriniva…
Browse files Browse the repository at this point in the history
…syadav18/cudf into mixed_semi_join_refactor
  • Loading branch information
mhaseeb123 committed Sep 10, 2024
2 parents 08410dd + 47c0938 commit bdc13e2
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 351 deletions.
4 changes: 2 additions & 2 deletions cpp/benchmarks/io/parquet/parquet_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ NVBENCH_BENCH_TYPES(BM_parq_write_encode, NVBENCH_TYPE_AXES(d_type_list))
.set_name("parquet_write_encode")
.set_type_axes_names({"data_type"})
.set_min_samples(4)
.add_int64_axis("cardinality", {0, 1000})
.add_int64_axis("run_length", {1, 32});
.add_int64_axis("cardinality", {0, 1000, 10'000, 100'000})
.add_int64_axis("run_length", {1, 8, 32});

NVBENCH_BENCH_TYPES(BM_parq_write_io_compression, NVBENCH_TYPE_AXES(io_list, compression_list))
.set_name("parquet_write_io_compression")
Expand Down
24 changes: 5 additions & 19 deletions cpp/include/cudf/io/nvcomp_adapter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,20 @@ struct feature_status_parameters {
int lib_patch_version; ///< patch version
bool are_all_integrations_enabled; ///< all integrations
bool are_stable_integrations_enabled; ///< stable integrations
int compute_capability_major; ///< cuda compute major version

/**
* @brief Default Constructor
* @brief Default constructor using the current version of nvcomp and current environment
* variables
*/
feature_status_parameters();

/**
* @brief feature_status_parameters Constructor
* @brief Constructor using the current version of nvcomp
*
* @param major positive integer representing major value of nvcomp
* @param minor positive integer representing minor value of nvcomp
* @param patch positive integer representing patch value of nvcomp
* @param all_enabled if all integrations are enabled
* @param stable_enabled if stable integrations are enabled
* @param cc_major CUDA compute capability
*/
feature_status_parameters(
int major, int minor, int patch, bool all_enabled, bool stable_enabled, int cc_major)
: lib_major_version{major},
lib_minor_version{minor},
lib_patch_version{patch},
are_all_integrations_enabled{all_enabled},
are_stable_integrations_enabled{stable_enabled},
compute_capability_major{cc_major}
{
}
feature_status_parameters(bool all_enabled, bool stable_enabled);
};

/**
Expand All @@ -74,8 +61,7 @@ inline bool operator==(feature_status_parameters const& lhs, feature_status_para
lhs.lib_minor_version == rhs.lib_minor_version and
lhs.lib_patch_version == rhs.lib_patch_version and
lhs.are_all_integrations_enabled == rhs.are_all_integrations_enabled and
lhs.are_stable_integrations_enabled == rhs.are_stable_integrations_enabled and
lhs.compute_capability_major == rhs.compute_capability_major;
lhs.are_stable_integrations_enabled == rhs.are_stable_integrations_enabled;
}

/**
Expand Down
Loading

0 comments on commit bdc13e2

Please sign in to comment.