CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
56 lines
2.3 KiB
Plaintext
56 lines
2.3 KiB
Plaintext
## Check that we can dump an offloading binary directly.
|
|
# RUN: yaml2obj %S/Inputs/binary.yaml -o %t.bin
|
|
# RUN: llvm-objdump --offloading %t.bin | FileCheck %s --match-full-lines --strict-whitespace --implicit-check-not={{.}}
|
|
|
|
## Check that we can dump an offloading binary inside of an ELF section.
|
|
# RUN: yaml2obj %s -o %t -DTYPE=ET_EXEC
|
|
# RUN: yaml2obj %s -o %t.so -DTYPE=ET_DYN
|
|
# RUN: yaml2obj %s -o %t.o -DTYPE=ET_REL
|
|
# RUN: llvm-objcopy --update-section .llvm.offloading=%t.bin %t
|
|
# RUN: llvm-objcopy --update-section .llvm.offloading=%t.bin %t.so
|
|
# RUN: llvm-objcopy --update-section .llvm.offloading=%t.bin %t.o
|
|
# RUN: llvm-objdump --offloading %t | FileCheck %s --check-prefixes=CHECK,ELF --match-full-lines --strict-whitespace --implicit-check-not={{.}}
|
|
# RUN: llvm-objdump --offloading %t.so | FileCheck %s --check-prefixes=CHECK,ELF --match-full-lines --strict-whitespace --implicit-check-not={{.}}
|
|
# RUN: llvm-objdump --offloading %t.o | FileCheck %s --check-prefixes=CHECK,ELF --match-full-lines --strict-whitespace --implicit-check-not={{.}}
|
|
|
|
!ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: [[TYPE]]
|
|
Sections:
|
|
- Name: .llvm.offloading
|
|
Type: SHT_LLVM_OFFLOADING
|
|
Flags: [ SHF_EXCLUDE ]
|
|
AddressAlign: 0x0000000000000008
|
|
|
|
# ELF:{{.*}}file format elf64-unknown
|
|
# ELF-EMPTY:
|
|
# CHECK:OFFLOADING IMAGE [0]:
|
|
# CHECK-NEXT:kind llvm ir
|
|
# CHECK-NEXT:arch gfx908
|
|
# CHECK-NEXT:triple amdgcn-amd-amdhsa
|
|
# CHECK-NEXT:producer openmp
|
|
# CHECK-NEXT:image size 0 bytes
|
|
# CHECK-EMPTY:
|
|
# CHECK-NEXT:OFFLOADING IMAGE [1]:
|
|
# CHECK-NEXT:kind llvm ir
|
|
# CHECK-NEXT:arch gfx90a
|
|
# CHECK-NEXT:triple amdgcn-amd-amdhsa
|
|
# CHECK-NEXT:producer openmp
|
|
# CHECK-NEXT:image size 0 bytes
|
|
# CHECK-EMPTY:
|
|
# CHECK-NEXT:OFFLOADING IMAGE [2]:
|
|
# CHECK-NEXT:kind cubin
|
|
# CHECK-NEXT:arch sm_52
|
|
# CHECK-NEXT:triple nvptx64-nvidia-cuda
|
|
# CHECK-NEXT:producer openmp
|
|
# CHECK-NEXT:image size 0 bytes
|
|
# CHECK-EMPTY:
|
|
# CHECK-NEXT:OFFLOADING IMAGE [3]:
|
|
# CHECK-NEXT:kind <none>
|
|
# CHECK-NEXT:arch sm_70
|
|
# CHECK-NEXT:triple nvptx64-nvidia-cuda
|
|
# CHECK-NEXT:producer none
|
|
# CHECK-NEXT:image size 0 bytes
|