Skip to content

Commit

Permalink
Update limit for max counter records in rocprof-tool (#1073)
Browse files Browse the repository at this point in the history
A fixed sized std::array is used to store counter records in rocprofiler SDK. This limit was breached in SWDEV-484742. Upping the limit to 512 to be less likely to reach this limit again.
  • Loading branch information
bwelton authored Oct 2, 2024
1 parent 4f05850 commit a159fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lib/rocprofiler-sdk-tool/helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ struct rocprofiler_tool_record_counter_t
struct rocprofiler_tool_counter_collection_record_t
{
rocprofiler_profile_counting_dispatch_data_t dispatch_data = {};
std::array<rocprofiler_tool_record_counter_t, 256> records = {};
std::array<rocprofiler_tool_record_counter_t, 512> records = {};
uint64_t thread_id = 0;
uint64_t arch_vgpr_count = 0;
uint64_t sgpr_count = 0;
Expand Down

0 comments on commit a159fb4

Please sign in to comment.