Fixing ROCProfilerV2 to match versioning changes in HIP Runtime
Change-Id: Ifb0f98356acebcb7cf5372340b36178de000405d
Šī revīzija ir iekļauta:
1 vecāks
137aef0419
revīzija
a59d56f9bc
6 files changed
+17
-5
No files matched your search
@@ -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
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
#include <hip/hip_runtime_api.h>
|
||||
#include <hip/hip_deprecated.h>
|
||||
@@ -22,6 +22,7 @@
|
||||
#define SRC_TOOLS_TRACER_SRC_ROCTRACER_H_
|
||||
|
||||
#include <hip/hip_runtime.h>
|
||||
#include <hip/hip_deprecated.h>
|
||||
#include <hsa/hsa.h>
|
||||
#include <hsa/hsa_ext_amd.h>
|
||||
#include <stddef.h>
|
||||
|
||||
Reference in new issue
Block a user