SWDEV-415259: Replacing HCC with AMD

Change-Id: I3de30d52d7e25ce5a6c727fba81af9a031f7eee3
Tá an tiomantas seo le fáil i:
Ammar ELWazir údaraithe agus Tao Sang tiomanta 2023-08-18 09:59:27 -04:00
1 tuismitheoir 157eacd2bb
tiomantas a3dfe3d680
7 comhad athraithe
+8 -8

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -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_HCC__=1 -D__HIP_ROCclr__=1 -o
-E "${HIP_RUNTIME_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
+1 -1
Féach ar an gComhad
@@ -26,7 +26,7 @@ target_include_directories(
target_compile_definitions(
rocprofiler_tool
PUBLIC AMD_INTERNAL_BUILD
PRIVATE HIP_PROF_HIP_API_STRING=1 __HIP_PLATFORM_HCC__=1)
PRIVATE HIP_PROF_HIP_API_STRING=1 __HIP_PLATFORM_AMD__=1)
if(ASAN)
target_compile_options(rocprofiler_tool PRIVATE -fsanitize=address)