Skip to content

Commit

Permalink
Increase size of reserved vector.
Browse files Browse the repository at this point in the history
Signed-off-by: David Galiffi <[email protected]>
  • Loading branch information
dgaliffiAMD committed Nov 21, 2024
1 parent 069696f commit 9b400ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/lib/rocprof-sys/library/runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ auto&
get_sampling_on_child_threads_history(int64_t _idx = utility::get_thread_index())
{
static auto _v = utility::get_filled_array<ROCPROFSYS_MAX_THREADS>(
[]() { return utility::get_reserved_vector<bool>(32); });
[]() { return utility::get_reserved_vector<bool>(64); });

if(_idx >= ROCPROFSYS_MAX_THREADS)
{
static thread_local auto _tl_v = utility::get_reserved_vector<bool>(32);
static thread_local auto _tl_v = utility::get_reserved_vector<bool>(128);
return _tl_v;
}

Expand Down

0 comments on commit 9b400ab

Please sign in to comment.