Skip to content

Commit

Permalink
Resolve compilation warning with gcc 13
Browse files Browse the repository at this point in the history
  • Loading branch information
dgaliffiAMD committed Nov 20, 2024
1 parent 4805251 commit 6d0e2f2
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 6d0e2f2

Please sign in to comment.