From 5f6eded274f4af8348153b76b9fdffc6bae83954 Mon Sep 17 00:00:00 2001 From: jofernau Date: Tue, 8 Oct 2024 12:54:09 -0700 Subject: [PATCH] SWDEV-496006 - Update tests according to compiler. Change-Id: I8870be9f7d1d209e3d9ae07928e8990180e3dd0b --- .../16_assembly_to_executable/hip_obj_gen.mcin | 14 +++----------- .../17_llvm_ir_to_executable/hip_obj_gen.mcin | 14 +++----------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/samples/2_Cookbook/16_assembly_to_executable/hip_obj_gen.mcin b/samples/2_Cookbook/16_assembly_to_executable/hip_obj_gen.mcin index 8153784242..4551e5a1c4 100644 --- a/samples/2_Cookbook/16_assembly_to_executable/hip_obj_gen.mcin +++ b/samples/2_Cookbook/16_assembly_to_executable/hip_obj_gen.mcin @@ -12,17 +12,9 @@ # # Note: log 2 of 4096 is 12. # - .protected __hip_gpubin_handle_ - .type __hip_gpubin_handle_,@object - .section .hip_gpubin_handle,"aw" - .globl __hip_gpubin_handle_ - .p2align 12 -__hip_gpubin_handle_: - .zero 8 - - .type __hip_fatbin_,@object + .type __hip_fatbin,@object .section .hip_fatbin,"a",@progbits - .globl __hip_fatbin_ + .globl __hip_fatbin .p2align 12 -__hip_fatbin_: +__hip_fatbin: .incbin "offload_bundle.hipfb" diff --git a/samples/2_Cookbook/17_llvm_ir_to_executable/hip_obj_gen.mcin b/samples/2_Cookbook/17_llvm_ir_to_executable/hip_obj_gen.mcin index 8153784242..4551e5a1c4 100644 --- a/samples/2_Cookbook/17_llvm_ir_to_executable/hip_obj_gen.mcin +++ b/samples/2_Cookbook/17_llvm_ir_to_executable/hip_obj_gen.mcin @@ -12,17 +12,9 @@ # # Note: log 2 of 4096 is 12. # - .protected __hip_gpubin_handle_ - .type __hip_gpubin_handle_,@object - .section .hip_gpubin_handle,"aw" - .globl __hip_gpubin_handle_ - .p2align 12 -__hip_gpubin_handle_: - .zero 8 - - .type __hip_fatbin_,@object + .type __hip_fatbin,@object .section .hip_fatbin,"a",@progbits - .globl __hip_fatbin_ + .globl __hip_fatbin .p2align 12 -__hip_fatbin_: +__hip_fatbin: .incbin "offload_bundle.hipfb"