Fixing ROCProfilerV2 to match versioning changes in HIP Runtime

Change-Id: Ifb0f98356acebcb7cf5372340b36178de000405d
This commit is contained in:
Ammar ELWazir
2023-11-07 20:55:35 +00:00
zatwierdzone przez Ammar ELWazir
rodzic 137aef0419
commit a59d56f9bc
6 zmienionych plików z 17 dodań i 5 usunięć
+9
Wyświetl plik
@@ -212,6 +212,15 @@ def gen_cppheader(infilepath, outfilepath, rank):
+ apiname
+ "_OSTREAM_OPS_H_\n"
+ "\n"
)
if apiname.upper() == 'HIP':
header_s = (
header_s
+ "#include <hip/hip_runtime.h>\n"
+ "#include <hip/hip_deprecated.h>\n"
)
header_s = (
header_s
+ '#include "src/core/session/tracer/src/roctracer.h"\n'
+ "\n"
+ "#ifdef __cplusplus\n"