You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
812 B
21 lines
812 B
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
|
# See https://llvm.org/LICENSE.txt for license information. |
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
|
|
|
# HIP Object Generator |
|
# Use this generator to create a host bundled object file |
|
# with the input of an offload bundled fat binary. |
|
# |
|
# Input: Bundled Object file .hipfb file |
|
# Output: Host Bundled Object File .o |
|
|
|
.type __hip_fatbin,@object |
|
# Tell the assembler to place the offload bundle in the appropriate section. |
|
.section .hip_fatbin,"a",@progbits |
|
# Make the symbol that addresses the binary public. |
|
.globl __hip_fatbin |
|
# Give the bundle the required alignment of 4096 (2 ^ 12). |
|
.p2align 12 |
|
__hip_fatbin: |
|
# Include the offload bundle. |
|
.incbin "offload_bundle.hipfb"
|
|
|