diff --git a/cpp/src/io/fst/agent_dfa.cuh b/cpp/src/io/fst/agent_dfa.cuh index 2a75c034dc8..5685b50c322 100644 --- a/cpp/src/io/fst/agent_dfa.cuh +++ b/cpp/src/io/fst/agent_dfa.cuh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2024, NVIDIA CORPORATION. + * Copyright (c) 2022-2025, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -308,12 +308,14 @@ class WriteCoalescingCallbackWrapper { { __syncthreads(); if constexpr (!DiscardTranslatedOutput) { - for (uint32_t out_char = threadIdx.x; out_char < tile_out_count; out_char += blockDim.x) { + for (thread_index_type out_char = threadIdx.x; out_char < tile_out_count; + out_char += blockDim.x) { out_it[tile_out_offset + out_char] = temp_storage.compacted_symbols[out_char]; } } if constexpr (!DiscardIndexOutput) { - for (uint32_t out_char = threadIdx.x; out_char < tile_out_count; out_char += blockDim.x) { + for (thread_index_type out_char = threadIdx.x; out_char < tile_out_count; + out_char += blockDim.x) { out_idx_it[tile_out_offset + out_char] = temp_storage.compacted_offset[out_char] + tile_in_offset; }