From a159fb47c71825b71598ff4ad3f6c69cfd387004 Mon Sep 17 00:00:00 2001 From: Benjamin Welton Date: Wed, 2 Oct 2024 16:56:42 -0700 Subject: [PATCH] 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. --- source/lib/rocprofiler-sdk-tool/helper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/rocprofiler-sdk-tool/helper.hpp b/source/lib/rocprofiler-sdk-tool/helper.hpp index e5d42ef998..2a001b436f 100644 --- a/source/lib/rocprofiler-sdk-tool/helper.hpp +++ b/source/lib/rocprofiler-sdk-tool/helper.hpp @@ -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 records = {}; + std::array records = {}; uint64_t thread_id = 0; uint64_t arch_vgpr_count = 0; uint64_t sgpr_count = 0;