SWDEV-448422 - Fix tests according to latest compiler changes

Recent compiler patch https://github.com/llvm/llvm-project/pull/81700/
introduced changes to certain hip external symbols clang emits. This patch
makes the tests "16_assembly_to_executable" and "17_llvm_ir_to_executable"
follow these changes. I expect comments on whether this is an unintended
compiler behaviour that needs fix in compiler or this is the proper fix.

Change-Id: I3943f5365600f683a65c98c6d17c14a5e4192351


[ROCm/hip-tests commit: fba826fc3c]
Этот коммит содержится в:
Vikram
2024-03-08 07:21:10 -05:00
коммит произвёл Vikram Hegde
родитель 053e0e59f3
Коммит 4681ffc8f6
2 изменённых файлов: 24 добавлений и 8 удалений
+12 -4
Просмотреть файл
@@ -12,9 +12,17 @@
#
# Note: log 2 of 4096 is 12.
#
.type __hip_fatbin,@object
.section .hip_fatbin,"a",@progbits
.globl __hip_fatbin
.protected __hip_gpubin_handle_
.type __hip_gpubin_handle_,@object
.section .hip_gpubin_handle,"aw"
.globl __hip_gpubin_handle_
.p2align 12
__hip_fatbin:
__hip_gpubin_handle_:
.zero 8
.type __hip_fatbin_,@object
.section .hip_fatbin,"a",@progbits
.globl __hip_fatbin_
.p2align 12
__hip_fatbin_:
.incbin "offload_bundle.hipfb"
+12 -4
Просмотреть файл
@@ -12,9 +12,17 @@
#
# Note: log 2 of 4096 is 12.
#
.type __hip_fatbin,@object
.section .hip_fatbin,"a",@progbits
.globl __hip_fatbin
.protected __hip_gpubin_handle_
.type __hip_gpubin_handle_,@object
.section .hip_gpubin_handle,"aw"
.globl __hip_gpubin_handle_
.p2align 12
__hip_fatbin:
__hip_gpubin_handle_:
.zero 8
.type __hip_fatbin_,@object
.section .hip_fatbin,"a",@progbits
.globl __hip_fatbin_
.p2align 12
__hip_fatbin_:
.incbin "offload_bundle.hipfb"