Fixing ROCProfilerV2 to match versioning changes in HIP Runtime
Change-Id: Ifb0f98356acebcb7cf5372340b36178de000405d
This commit is contained in:
zatwierdzone przez
Ammar ELWazir
rodzic
137aef0419
commit
a59d56f9bc
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user