From 8a184e97ce14a400f70d463f7e55f95f32d7a547 Mon Sep 17 00:00:00 2001 From: Elias Stehle <3958403+elstehle@users.noreply.github.com> Date: Fri, 15 Jul 2022 22:51:18 -0700 Subject: [PATCH] rephrases documentation on in-reg array --- cpp/src/io/fst/in_reg_array.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/io/fst/in_reg_array.cuh b/cpp/src/io/fst/in_reg_array.cuh index 9d59d04cb9b..352d7871699 100644 --- a/cpp/src/io/fst/in_reg_array.cuh +++ b/cpp/src/io/fst/in_reg_array.cuh @@ -51,7 +51,7 @@ class MultiFragmentInRegArray { static constexpr uint32_t BITS_PER_FRAG_ITEM = 0x01U << (cub::Log2<(AVAIL_BITS_PER_FRAG_ITEM + 1)>::VALUE - 1); - // Number of fragments required to store and to reconstruct each item + // The total number of fragments required to store all the items static constexpr uint32_t FRAGMENTS_PER_ITEM = (MIN_BITS_PER_ITEM + BITS_PER_FRAG_ITEM - 1) / BITS_PER_FRAG_ITEM;