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'