From 1d4e6508410624d52d84b56f834d661691159822 Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Mon, 21 Nov 2022 16:34:55 -0800 Subject: [PATCH] SWDEV-369226 - Correct the usage of include file In the generated header file hsa_prof_str.h , the header file hsa_ostream_ops.h was included using angle brackets This results in compilation with include path /opt/rocm-ver/include. Corrected the usage by using double quotes Change-Id: Ie9f1fff78d16a6953a2c99056b2acef42e577204 [ROCm/roctracer commit: b1585c983da6b0816afa36f74b7156d52fc159f9] --- projects/roctracer/script/hsaap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/roctracer/script/hsaap.py b/projects/roctracer/script/hsaap.py index ad65ff82c0..ffc5e5f636 100755 --- a/projects/roctracer/script/hsaap.py +++ b/projects/roctracer/script/hsaap.py @@ -503,7 +503,7 @@ class API_DescrParser: content = '' if n == -1: content += '#ifdef __cplusplus\n' - content += '#include \n' + content += '#include "hsa_ostream_ops.h"\n' content += 'typedef std::pair hsa_api_data_pair_t;\n' content += 'inline std::ostream& operator<< (std::ostream& out, const hsa_api_data_pair_t& data_pair) {\n' content += ' const uint32_t cid = data_pair.first;\n'