Skip to content

Commit

Permalink
Fixing StringTo uint32_t used only by tracing (#6883) (#6885)
Browse files Browse the repository at this point in the history
  • Loading branch information
oandreeva-nv authored Feb 15, 2024
1 parent 9a45c27 commit 488d20a
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 488d20a

Please sign in to comment.