Update limit for max counter records in rocprof-tool (#1073)

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.
Este cometimento está contido em:
Benjamin Welton criou e GitHub cometeu 2024-10-02 16:56:42 -07:00
1 ascendente 4f05850efd
cometimento a159fb47c7
1 ficheiro modificado
+1 -1
+1 -1
Ver ficheiro
@@ -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;