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: b1585c983d]
Bu işleme şunda yer alıyor:
@@ -503,7 +503,7 @@ class API_DescrParser:
|
||||
content = ''
|
||||
if n == -1:
|
||||
content += '#ifdef __cplusplus\n'
|
||||
content += '#include <hsa_ostream_ops.h>\n'
|
||||
content += '#include "hsa_ostream_ops.h"\n'
|
||||
content += 'typedef std::pair<uint32_t, hsa_api_data_t> 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'
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle