Skip to content

Commit

Permalink
Fixing StringTo uint32_t used only by tracing (triton-inference-serve…
Browse files Browse the repository at this point in the history
  • Loading branch information
oandreeva-nv authored Feb 14, 2024
1 parent 44cfb62 commit fbe03b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/command_line_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,14 @@ StringTo(const std::string& arg)
return std::stoi(arg);
}

#ifdef TRITON_ENABLE_TRACING
template <>
uint32_t
StringTo(const std::string& arg)
{
return std::stoul(arg);
}
#endif // TRITON_ENABLE_TRACING

template <>
uint64_t
Expand Down

0 comments on commit fbe03b3

Please sign in to comment.