Check to force tools to initialize the ctx id to zero. (#1135)
* Check to force tool to initialize the ctx id to zero. * initialize rocprofiler_context_id_t with 0 in units tests * changelog --------- Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>
This commit is contained in:
@@ -51,7 +51,7 @@ namespace ATTTest
|
||||
{
|
||||
namespace Agent
|
||||
{
|
||||
rocprofiler_context_id_t client_ctx = {};
|
||||
rocprofiler_context_id_t client_ctx = {0};
|
||||
rocprofiler_client_id_t* client_id = nullptr;
|
||||
std::atomic<bool> valid_data{false};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user