Skip to content

Commit

Permalink
fix: fix llvm_ir_to_executable example for ROCm 6.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Beanavil authored and MKKnorr committed Dec 16, 2024
1 parent d0bfdac commit 31e7ba9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions HIP-Basic/llvm_ir_to_executable/hip_obj_gen_win.mcin
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@
# Input: Bundled Object file .hipfb file
# Output: Host Bundled Object File .o

.section .hip_gpubin_handle,"dw"
.globl __hip_gpubin_handle_
.p2align 12
__hip_gpubin_handle_:
.zero 8
# Tell the assembler to place the offload bundle in the appropriate section.
.section .hip_fatbin,"dw"
# Make the symbol that addresses the binary public.
.globl __hip_fatbin
.globl __hip_fatbin_
# Give the bundle the required alignment of 4096 (2 ^ 12).
.p2align 12
__hip_fatbin:
__hip_fatbin_:
# Include the offload bundle.
.incbin "offload_bundle.hipfb"

0 comments on commit 31e7ba9

Please sign in to comment.