NVIDIA / NVIDIA/CUDALibrarySamples

Why do cascaded compessors have a type instead of just a size for fixed width columns

Open
#354 5 comments 0 reactions 1 assignee View on GitHub

@naveenaero is already working on this.

Since Apr 29, 2026.

nvCOMP
Dominant language
Cuda
Stars
2.5k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

When compressing data knowing the type can be helpful interms of determining the best compression plan to utilize but when you have a plan that you want to execute why does it care the type of data that is being compressed?

Having to specify the type prevents users from doing things like

std::shared_ptr<Compressor> compressor = nullptr;
plan_details.type_size = whatever size we want to set here
if(use_lz4){
   compressor = std::make_shared<LZ4Compressor>(plan_details);
}else{
   compressor = std::make_shared<CascadedCompressor>(plan_details);
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.