Skip to content

Commit

Permalink
alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
vuule committed Sep 10, 2024
1 parent c64aac1 commit 01146fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/io/comp/nvcomp_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,11 +454,11 @@ std::optional<std::string> is_decompression_disabled(compression_type compressio
size_t required_alignment(compression_type compression)
{
switch (compression) {
case compression_type::GZIP:
case compression_type::DEFLATE: return nvcompDeflateRequiredAlignment;
case compression_type::SNAPPY: return nvcompSnappyRequiredAlignment;
case compression_type::ZSTD: return nvcompZstdRequiredAlignment;
case compression_type::LZ4: return nvcompLZ4RequiredAlignment;
case compression_type::GZIP: return 1; // TODO: check if this is correct
default: CUDF_FAIL("Unsupported compression type");
}
}
Expand Down

0 comments on commit 01146fc

Please sign in to comment.