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
42 lines
1.7 KiB
ArmAsm
42 lines
1.7 KiB
ArmAsm
; RUN: llvm-mc %s --triple=amdgcn-amd-amdhsa -mcpu=gfx908 -mattr=-xnack -filetype=obj -o %t1
|
|
; RUN: llvm-objdump --disassemble-symbols=my_kernel.kd %t1 \
|
|
; RUN: | tail -n +7 | llvm-mc --triple=amdgcn-amd-amdhsa -mcpu=gfx908 -mattr=-xnack -filetype=obj -o %t2
|
|
; RUN: llvm-objdump -s -j .text %t2 | FileCheck --check-prefix=OBJDUMP %s
|
|
|
|
;; Not running lit-test over gfx10 (see kd-zeroed-gfx10.s for details).
|
|
;; kd-zeroed-raw.s and kd-zeroed-*.s should produce the same output for the
|
|
;; kernel descriptor - a block of 64 zeroed bytes.
|
|
|
|
;; The disassembly will produce the contents of kd-zeroed-*.s which on being
|
|
;; assembled contains additional relocation info. A diff over the entire object
|
|
;; will fail in this case. So we check by looking the bytes in .text.
|
|
|
|
; OBJDUMP: 0000 00000000 00000000 00000000 00000000
|
|
; OBJDUMP-NEXT: 0010 00000000 00000000 00000000 00000000
|
|
; OBJDUMP-NEXT: 0020 00000000 00000000 00000000 00000000
|
|
; OBJDUMP-NEXT: 0030 00000000 00000000 00000000 00000000
|
|
|
|
;; The entire object is zeroed out.
|
|
|
|
.type my_kernel.kd, @object
|
|
.size my_kernel.kd, 64
|
|
my_kernel.kd:
|
|
.long 0x00000000 ;; group_segment_fixed_size
|
|
.long 0x00000000 ;; private_segment_fixed_size
|
|
.quad 0x0000000000000000 ;; reserved bytes.
|
|
.quad 0x0000000000000000 ;; kernel_code_entry_byte_offset, any value works.
|
|
|
|
;; 20 reserved bytes.
|
|
.quad 0x0000000000000000
|
|
.quad 0x0000000000000000
|
|
.long 0x00000000
|
|
|
|
.long 0x00000000 ;; compute_PGM_RSRC3
|
|
.long 0x00000000 ;; compute_PGM_RSRC1
|
|
.long 0x00000000 ;; compute_PGM_RSRC2
|
|
.short 0x0000 ;; additional fields.
|
|
|
|
;; 6 reserved bytes.
|
|
.long 0x0000000
|
|
.short 0x0000
|