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
کامیت شده توسط Ammar ELWazir
والد 137aef0419
کامیت a59d56f9bc
6فایلهای تغییر یافته به همراه17 افزوده شده و 5 حذف شده
@@ -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"