diff --git a/cpp/src/io/orc/reader_impl.cu b/cpp/src/io/orc/reader_impl.cu index 8fd0169ffe4..a726c74e4f2 100644 --- a/cpp/src/io/orc/reader_impl.cu +++ b/cpp/src/io/orc/reader_impl.cu @@ -275,8 +275,8 @@ void decompress_check(device_span stats, bool* any_block_failure, rmm::cuda_stream_view stream) { - if (stats.empty()) { retrun; } // early exit for empty stats - + if (stats.empty()) { return; } // early exit for empty stats + dim3 block(128); dim3 grid(cudf::util::div_rounding_up_safe(stats.size(), static_cast(block.x))); decompress_check_kernel<<>>(stats, any_block_failure); diff --git a/cpp/src/io/parquet/reader_impl.cu b/cpp/src/io/parquet/reader_impl.cu index 821ec4eff38..7ff72e8c43d 100644 --- a/cpp/src/io/parquet/reader_impl.cu +++ b/cpp/src/io/parquet/reader_impl.cu @@ -1051,8 +1051,8 @@ void decompress_check(device_span stats, bool* any_block_failure, rmm::cuda_stream_view stream) { - if (stats.empty()) { retrun; } // early exit for empty stats - + if (stats.empty()) { return; } // early exit for empty stats + dim3 block(128); dim3 grid(cudf::util::div_rounding_up_safe(stats.size(), static_cast(block.x))); decompress_check_kernel<<>>(stats, any_block_failure);