diff --git a/cpp/src/io/fst/agent_dfa.cuh b/cpp/src/io/fst/agent_dfa.cuh index 52fd039c097..f867a95a864 100644 --- a/cpp/src/io/fst/agent_dfa.cuh +++ b/cpp/src/io/fst/agent_dfa.cuh @@ -92,6 +92,9 @@ class DFASimulationCallbackWrapper { { uint32_t const count = transducer_table(old_state, symbol_id, read_symbol); if (write) { +#if __CUDA_ARCH__ > 0 +#pragma unroll 1 +#endif for (uint32_t out_char = 0; out_char < count; out_char++) { out_it[out_count + out_char] = transducer_table(old_state, symbol_id, out_char, read_symbol);