SWDEV-252747 : testing using v3 object

Change-Id: I427df765d1be55bd2851ce441238b3eaa46cca4f


[ROCm/rocprofiler commit: 169e36f379]
This commit is contained in:
Evgeny
2020-09-15 18:55:51 -05:00
parent 617098d096
commit 87e1a397a3
7 changed files with 46 additions and 13 deletions
@@ -166,9 +166,10 @@ enum {
CODE_OBJ_TRACKING_MODE = 0x2,
MEMCOPY_INTERCEPT_MODE = 0x4,
HSA_INTERCEPT_MODE = 0x8,
INTERCEPT_MODE_DFLT = CODE_OBJ_TRACKING_MODE
};
uint32_t LoadTool() {
uint32_t intercept_mode = 0;
uint32_t intercept_mode = INTERCEPT_MODE_DFLT;
const char* tool_lib = getenv("ROCP_TOOL_LIB");
std::ostringstream oss;
if (tool_lib) oss << "load tool library(" << tool_lib << ")";