From 05770badad4342a238df7443a59495c79a865ea8 Mon Sep 17 00:00:00 2001 From: kjayapra-amd Date: Tue, 13 Aug 2024 10:43:29 -0400 Subject: [PATCH] SWDEV-478923 - Add targets for code object compilation. Change-Id: Icef7917cfb1ba53eb3ccbbf9220dd96dcbe8714d [ROCm/hip-tests commit: 2d2e90a4059bcde88bda12406b6fb3848b760f69] --- .../samples/2_Cookbook/16_assembly_to_executable/CMakeLists.txt | 2 +- .../samples/2_Cookbook/17_llvm_ir_to_executable/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip-tests/samples/2_Cookbook/16_assembly_to_executable/CMakeLists.txt b/projects/hip-tests/samples/2_Cookbook/16_assembly_to_executable/CMakeLists.txt index ad00fe1cce..617dfb4908 100644 --- a/projects/hip-tests/samples/2_Cookbook/16_assembly_to_executable/CMakeLists.txt +++ b/projects/hip-tests/samples/2_Cookbook/16_assembly_to_executable/CMakeLists.txt @@ -38,7 +38,7 @@ set(SQ_ASM_EXE ${CMAKE_CURRENT_BINARY_DIR}/square_asm.out) set(MCIN_OBJ_GEN ${CMAKE_CURRENT_SOURCE_DIR}/hip_obj_gen.mcin) if(NOT DEFINED GPU_ARCH) - set(GPU_ARCH gfx900 gfx906 gfx908 gfx90a gfx940 gfx941 gfx942 gfx1010 gfx1030 gfx1100 gfx1101 gfx1102 gfx1103) + set(GPU_ARCH gfx900 gfx906 gfx908 gfx90a gfx940 gfx941 gfx942 gfx1010 gfx1030 gfx1100 gfx1101 gfx1102 gfx1103 gfx1200 gfx1201) endif() # Append Current device arch from rocm_agent_enumerator diff --git a/projects/hip-tests/samples/2_Cookbook/17_llvm_ir_to_executable/CMakeLists.txt b/projects/hip-tests/samples/2_Cookbook/17_llvm_ir_to_executable/CMakeLists.txt index 36807c536d..c41f066bcc 100644 --- a/projects/hip-tests/samples/2_Cookbook/17_llvm_ir_to_executable/CMakeLists.txt +++ b/projects/hip-tests/samples/2_Cookbook/17_llvm_ir_to_executable/CMakeLists.txt @@ -41,7 +41,7 @@ set(SQ_IR_EXE ${CMAKE_CURRENT_BINARY_DIR}/square_ir.out) set(MCIN_OBJ_GEN ${CMAKE_CURRENT_SOURCE_DIR}/hip_obj_gen.mcin) if(NOT DEFINED GPU_ARCH) - set(GPU_ARCH gfx900 gfx906 gfx908 gfx90a gfx940 gfx941 gfx942 gfx1010 gfx1030 gfx1100 gfx1101 gfx1102 gfx1103) + set(GPU_ARCH gfx900 gfx906 gfx908 gfx90a gfx940 gfx941 gfx942 gfx1010 gfx1030 gfx1100 gfx1101 gfx1102 gfx1103 gfx1200 gfx1201) endif() # Append Current device arch from rocm_agent_enumerator