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
committed by Ammar ELWazir
parent 137aef0419
commit a59d56f9bc
6 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ add_custom_command(
COMMAND
${CMAKE_C_COMPILER}
"$<$<BOOL:${HIP_INCLUDE_DIRECTORIES}>:-I$<JOIN:${HIP_INCLUDE_DIRECTORIES},$<SEMICOLON>-I>>"
-E "${HIP_RUNTIME_API_H}" -D__HIP_PLATFORM_AMD__=1 -D__HIP_ROCclr__=1 -o
-E "${PROJECT_SOURCE_DIR}/src/core/session/tracer/src/hip_full_api.h" -D__HIP_PLATFORM_AMD__=1 -D__HIP_ROCclr__=1 -o
hip_runtime_api.h.i
BYPRODUCTS hip_runtime_api.h.i
COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/script/gen_ostream_ops.py -in