#include <stdio.h>

int main()
{
    cudaDeviceProp prop;
    int count;
    int driver_version;
    int runtime_version;

    cudaGetDeviceCount(&count);

    for(int i = 0; i < count; i++)
    {
        cudaGetDeviceProperties(&prop, i);
        cudaDriverGetVersion(&driver_version);
        cudaRuntimeGetVersion(&runtime_version);

        printf("\n------------------------Device ID: %d (general info)------------------------\n", i);
        printf("Device name: %s\n", prop.name);
        printf("Driver version: %d.%d\n", driver_version/1000, (driver_version%100)/10);
        printf("Runtime version: %d.%d\n", runtime_version/1000, (runtime_version%100)/10);
        printf("Compute capability version: %d.%d\n", prop.major, prop.minor);
        printf("Clock rate: %.0f MHz\n", prop.clockRate * 1e-3f);

        printf("Concurrent kernels: %s\n", prop.concurrentKernels? "Yes":"No");
        #if CUDART_VERSION >= 5000
            printf("Concurrent copy and kernel execution: %s, with: %d copy engines\n", (prop.deviceOverlap? "Yes":"No"), prop.asyncEngineCount);
        #endif

        printf("Kernel execution timeout: %s\n", prop.kernelExecTimeoutEnabled? "Yes":"No");
        printf("Integrated GPU sharing host memory: %s\n", prop.integrated? "Yes":"No");
        printf("Support host page locked memory mapping: %s\n", prop.canMapHostMemory? "Yes":"No");

        printf("\n------------------------Device ID: %d (memory info)-------------------------\n", i);
        #if CUDART_VERSION >= 5000
            printf("Memory clock rate: %f Mhz\n", prop.memoryClockRate*10e-7);
            printf("Memory bus width: %d-bit\n", prop.memoryBusWidth);
        #endif

        printf("Total global memory: %lf Mbytes\n", prop.totalGlobalMem/1048576.0);
        printf("Total constant memory: %ld bytes\n", prop.totalConstMem);
        printf("Max memory pitch: %ld bytes\n", prop.memPitch);

        printf("\n------------------------Device ID: %d (MP info)-----------------------------\n", i);
        printf("Multiprocessor count: %d\n", prop.multiProcessorCount);
        printf("Shared memory per block: %ld bytes\n", prop.sharedMemPerBlock);
        printf("Registers per block: %d\n", prop.regsPerBlock);
        printf("Threads per warp: %d\n", prop.warpSize);

        #if CUDART_VERSION >= 5000
            printf("Max threads per multiprocessor: %d\n", prop.maxThreadsPerMultiProcessor);
        #endif

        printf("Max threads per block: %d\n", prop.maxThreadsPerBlock);
        printf("Max thread dimensions: (%d, %d, %d)\n", prop.maxThreadsDim[0], prop.maxThreadsDim[1], prop.maxThreadsDim[2]);
        printf("Max grid dimensions: (%d, %d, %d)\n\n", prop.maxThreadsDim[0], prop.maxThreadsDim[1], prop.maxThreadsDim[2]);
    }

    return 1;
}

	.file	"tmpxft_003ba12a_00000000-6_v1.cudafe1.cpp"
	.text
#APP

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB2030:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE2030:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"\n------------------------Device ID: %d (general info)------------------------\n"
.LC3:
	.string	"Device name: %s\n"
.LC4:
	.string	"Driver version: %d.%d\n"
.LC5:
	.string	"Runtime version: %d.%d\n"
.LC6:
	.string	"Compute capability version: %d.%d\n"
.LC8:
	.string	"Clock rate: %.0f MHz\n"
.LC9:
	.string	"Concurrent kernels: %s\n"
.LC10:
	.string	"Concurrent copy and kernel execution: %s, with: %d copy engines\n"
.LC11:
	.string	"Kernel execution timeout: %s\n"
.LC12:
	.string	"Integrated GPU sharing host memory: %s\n"
.LC13:
	.string	"Support host page locked memory mapping: %s\n"
.LC14:
	.string	"\n------------------------Device ID: %d (memory info)-------------------------\n"
.LC16:
	.string	"Memory clock rate: %f Mhz\n"
.LC17:
	.string	"Memory bus width: %d-bit\n"
.LC19:
	.string	"Total global memory: %lf Mbytes\n"
.LC20:
	.string	"Total constant memory: %ld bytes\n"
.LC21:
	.string	"Max memory pitch: %ld bytes\n"
.LC22:
	.string	"\n------------------------Device ID: %d (MP info)-----------------------------\n"
.LC23:
	.string	"Multiprocessor count: %d\n"
.LC24:
	.string	"Shared memory per block: %ld bytes\n"
.LC25:
	.string	"Registers per block: %d\n"
.LC26:
	.string	"Threads per warp: %d\n"
.LC27:
	.string	"Max threads per multiprocessor: %d\n"
.LC28:
	.string	"Max threads per block: %d\n"
.LC29:
	.string	"Max thread dimensions: (%d, %d, %d)\n"
.LC30:
	.string	"Max grid dimensions: (%d, %d, %d)\n\n"
	.section	.text.startup,"ax",@progbits
	.globl	main
	.type	main, @function
main:
.LFB2027:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xorl	%ebx, %ebx
	subq	$1056, %rsp
	.cfi_def_cfa_offset 1104
	movq	%fs:40, %rax
	movq	%rax, 1048(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdi
	call	cudaGetDeviceCount@PLT
.L3:
	cmpl	%ebx, 4(%rsp)
	jle	.L20
	leaq	16(%rsp), %rbp
	movl	%ebx, %esi
	movl	$100, %r14d
	movl	$10, %r13d
	movq	%rbp, %rdi
	call	cudaGetDeviceProperties_v2@PLT
	leaq	8(%rsp), %rdi
	call	cudaDriverGetVersion@PLT
	leaq	12(%rsp), %rdi
	call	cudaRuntimeGetVersion@PLT
	movl	%ebx, %edx
	movq	%r12, %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	%rbp, %rdx
	movl	$2, %edi
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rsi
	movl	$1000, %ebp
	call	__printf_chk@PLT
	movl	8(%rsp), %eax
	movl	$2, %edi
	leaq	.LC4(%rip), %rsi
	cltd
	idivl	%r14d
	movl	%edx, %eax
	cltd
	idivl	%r13d
	movl	%eax, %ecx
	movl	8(%rsp), %eax
	cltd
	idivl	%ebp
	movl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	movl	$2, %edi
	leaq	.LC5(%rip), %rsi
	cltd
	idivl	%r14d
	movl	%edx, %eax
	cltd
	idivl	%r13d
	leaq	.LC0(%rip), %r13
	movl	%eax, %ecx
	movl	12(%rsp), %eax
	cltd
	idivl	%ebp
	leaq	.LC1(%rip), %rbp
	movl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	380(%rsp), %ecx
	movl	$2, %edi
	xorl	%eax, %eax
	movl	376(%rsp), %edx
	leaq	.LC6(%rip), %rsi
	call	__printf_chk@PLT
	leaq	.LC8(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtsi2ssl	364(%rsp), %xmm0
	mulss	.LC7(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	__printf_chk@PLT
	movq	%r13, %rdx
	cmpl	$0, 592(%rsp)
	cmove	%rbp, %rdx
	leaq	.LC9(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	cmpl	$0, 400(%rsp)
	movq	%r13, %rdx
	movl	616(%rsp), %ecx
	cmove	%rbp, %rdx
	leaq	.LC10(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	cmpl	$0, 408(%rsp)
	movq	%r13, %rdx
	leaq	.LC11(%rip), %rsi
	cmove	%rbp, %rdx
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	cmpl	$0, 412(%rsp)
	movq	%r13, %rdx
	leaq	.LC12(%rip), %rsi
	cmove	%rbp, %rdx
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	cmpl	$0, 416(%rsp)
	movq	%r13, %rdx
	leaq	.LC13(%rip), %rsi
	cmove	%rbp, %rdx
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	%ebx, %edx
	leaq	.LC14(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	leaq	.LC16(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtsi2sdl	624(%rsp), %xmm0
	mulsd	.LC15(%rip), %xmm0
	call	__printf_chk@PLT
	movl	628(%rsp), %edx
	leaq	.LC17(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movq	304(%rsp), %rax
	testq	%rax, %rax
	js	.L9
	cvtsi2sdq	%rax, %xmm0
	jmp	.L10
.L9:
	movq	%rax, %rdx
	andl	$1, %eax
	shrq	%rdx
	orq	%rax, %rdx
	cvtsi2sdq	%rdx, %xmm0
	addsd	%xmm0, %xmm0
.L10:
	mulsd	.LC18(%rip), %xmm0
	leaq	.LC19(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	call	__printf_chk@PLT
	movq	368(%rsp), %rdx
	leaq	.LC20(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movq	328(%rsp), %rdx
	leaq	.LC21(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	%ebx, %edx
	leaq	.LC22(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	incl	%ebx
	call	__printf_chk@PLT
	movl	404(%rsp), %edx
	leaq	.LC23(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movq	312(%rsp), %rdx
	leaq	.LC24(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	320(%rsp), %edx
	leaq	.LC25(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	324(%rsp), %edx
	leaq	.LC26(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	640(%rsp), %edx
	leaq	.LC27(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	336(%rsp), %edx
	leaq	.LC28(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	348(%rsp), %r8d
	xorl	%eax, %eax
	movl	344(%rsp), %ecx
	movl	340(%rsp), %edx
	leaq	.LC29(%rip), %rsi
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	348(%rsp), %r8d
	xorl	%eax, %eax
	movl	344(%rsp), %ecx
	movl	340(%rsp), %edx
	leaq	.LC30(%rip), %rsi
	movl	$2, %edi
	call	__printf_chk@PLT
	jmp	.L3
.L20:
	movq	1048(%rsp), %rax
	subq	%fs:40, %rax
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	addq	$1056, %rsp
	.cfi_def_cfa_offset 48
	movl	$1, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2027:
	.size	main, .-main
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB2053:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	movq	%rax, %rdi
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE2053:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC7:
	.long	981668463
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC15:
	.long	-1598689907
	.long	1051772663
	.align 8
.LC18:
	.long	0
	.long	1051721728
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:


#include <hip/hip_runtime.h>
#include <stdio.h>

int main()
{
    hipDeviceProp_t prop;
    int count;
    int driver_version;
    int runtime_version;

    hipGetDeviceCount(&count);

    for(int i = 0; i < count; i++)
    {
        hipGetDeviceProperties(&prop, i);
        hipDriverGetVersion(&driver_version);
        hipRuntimeGetVersion(&runtime_version);

        printf("\n------------------------Device ID: %d (general info)------------------------\n", i);
        printf("Device name: %s\n", prop.name);
        printf("Driver version: %d.%d\n", driver_version/1000, (driver_version%100)/10);
        printf("Runtime version: %d.%d\n", runtime_version/1000, (runtime_version%100)/10);
        printf("Compute capability version: %d.%d\n", prop.major, prop.minor);
        printf("Clock rate: %.0f MHz\n", prop.clockRate * 1e-3f);

        printf("Concurrent kernels: %s\n", prop.concurrentKernels? "Yes":"No");
        #if CUDART_VERSION >= 5000
            printf("Concurrent copy and kernel execution: %s, with: %d copy engines\n", (prop.deviceOverlap? "Yes":"No"), prop.asyncEngineCount);
        #endif

        printf("Kernel execution timeout: %s\n", prop.kernelExecTimeoutEnabled? "Yes":"No");
        printf("Integrated GPU sharing host memory: %s\n", prop.integrated? "Yes":"No");
        printf("Support host page locked memory mapping: %s\n", prop.canMapHostMemory? "Yes":"No");

        printf("\n------------------------Device ID: %d (memory info)-------------------------\n", i);
        #if CUDART_VERSION >= 5000
            printf("Memory clock rate: %f Mhz\n", prop.memoryClockRate*10e-7);
            printf("Memory bus width: %d-bit\n", prop.memoryBusWidth);
        #endif

        printf("Total global memory: %lf Mbytes\n", prop.totalGlobalMem/1048576.0);
        printf("Total constant memory: %ld bytes\n", prop.totalConstMem);
        printf("Max memory pitch: %ld bytes\n", prop.memPitch);

        printf("\n------------------------Device ID: %d (MP info)-----------------------------\n", i);
        printf("Multiprocessor count: %d\n", prop.multiProcessorCount);
        printf("Shared memory per block: %ld bytes\n", prop.sharedMemPerBlock);
        printf("Registers per block: %d\n", prop.regsPerBlock);
        printf("Threads per warp: %d\n", prop.warpSize);

        #if CUDART_VERSION >= 5000
            printf("Max threads per multiprocessor: %d\n", prop.maxThreadsPerMultiProcessor);
        #endif

        printf("Max threads per block: %d\n", prop.maxThreadsPerBlock);
        printf("Max thread dimensions: (%d, %d, %d)\n", prop.maxThreadsDim[0], prop.maxThreadsDim[1], prop.maxThreadsDim[2]);
        printf("Max grid dimensions: (%d, %d, %d)\n\n", prop.maxThreadsDim[0], prop.maxThreadsDim[1], prop.maxThreadsDim[2]);
    }

    return 1;
}

	.text
	.file	"v1.hip"
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI0_0:
	.long	0x3a83126f                      # float 0.00100000005
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI0_1:
	.long	1127219200                      # 0x43300000
	.long	1160773632                      # 0x45300000
	.long	0                               # 0x0
	.long	0                               # 0x0
.LCPI0_2:
	.quad	0x4330000000000000              # double 4503599627370496
	.quad	0x4530000000000000              # double 1.9342813113834067E+25
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI0_3:
	.quad	0x3eb0000000000000              # double 9.5367431640625E-7
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$1496, %rsp                     # imm = 0x5D8
	.cfi_def_cfa_offset 1552
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	leaq	20(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipGetDeviceCount
	cmpl	$0, (%rbx)
	jle	.LBB0_3
# %bb.1:                                # %.lr.ph
	leaq	24(%rsp), %rbx
	leaq	16(%rsp), %r14
	leaq	12(%rsp), %r15
	movl	$65535, %r12d                   # imm = 0xFFFF
	movl	$.L.str.8, %r13d
	xorl	%ebp, %ebp
.LBB0_2:                                # =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	hipGetDevicePropertiesR0600
	movq	%r14, %rdi
	callq	hipDriverGetVersion
	movq	%r15, %rdi
	callq	hipRuntimeGetVersion
	movl	$.L.str, %edi
	movl	%ebp, %esi
	xorl	%eax, %eax
	callq	printf
	movl	$.L.str.1, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	printf
	movslq	16(%rsp), %rax
	imulq	$274877907, %rax, %rsi          # imm = 0x10624DD3
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$38, %rsi
	addl	%ecx, %esi
	imulq	$1374389535, %rax, %rcx         # imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$37, %rcx
	addl	%edx, %ecx
	imull	$100, %ecx, %ecx
	subl	%ecx, %eax
	movsbl	%al, %eax
	imull	$103, %eax, %eax
	movswl	%ax, %ecx
	andl	%r12d, %eax
	shrl	$15, %eax
	shrl	$10, %ecx
	addb	%al, %cl
	movsbl	%cl, %edx
	movl	$.L.str.2, %edi
                                        # kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	printf
	movslq	12(%rsp), %rax
	imulq	$274877907, %rax, %rsi          # imm = 0x10624DD3
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$38, %rsi
	addl	%ecx, %esi
	imulq	$1374389535, %rax, %rcx         # imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$37, %rcx
	addl	%edx, %ecx
	imull	$100, %ecx, %ecx
	subl	%ecx, %eax
	movsbl	%al, %eax
	imull	$103, %eax, %eax
	movswl	%ax, %ecx
	andl	%r12d, %eax
	shrl	$15, %eax
	shrl	$10, %ecx
	addb	%al, %cl
	movsbl	%cl, %edx
	movl	$.L.str.3, %edi
                                        # kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	printf
	movl	384(%rsp), %esi
	movl	388(%rsp), %edx
	movl	$.L.str.4, %edi
	xorl	%eax, %eax
	callq	printf
	cvtsi2ssl	372(%rsp), %xmm0
	mulss	.LCPI0_0(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	movl	$.L.str.5, %edi
	movb	$1, %al
	callq	printf
	cmpl	$0, 600(%rsp)
	movl	$.L.str.7, %esi
	cmoveq	%r13, %rsi
	movl	$.L.str.6, %edi
	xorl	%eax, %eax
	callq	printf
	cmpl	$0, 416(%rsp)
	movl	$.L.str.7, %esi
	cmoveq	%r13, %rsi
	movl	$.L.str.9, %edi
	xorl	%eax, %eax
	callq	printf
	cmpl	$0, 420(%rsp)
	movl	$.L.str.7, %esi
	cmoveq	%r13, %rsi
	movl	$.L.str.10, %edi
	xorl	%eax, %eax
	callq	printf
	cmpl	$0, 424(%rsp)
	movl	$.L.str.7, %esi
	cmoveq	%r13, %rsi
	movl	$.L.str.11, %edi
	xorl	%eax, %eax
	callq	printf
	movl	$.L.str.12, %edi
	movl	%ebp, %esi
	xorl	%eax, %eax
	callq	printf
	movsd	312(%rsp), %xmm1                # xmm1 = mem[0],zero
	unpcklps	.LCPI0_1(%rip), %xmm1           # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	.LCPI0_2(%rip), %xmm1
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    # xmm0 = xmm0[1],xmm1[1]
	addsd	%xmm1, %xmm0
	mulsd	.LCPI0_3(%rip), %xmm0
	movl	$.L.str.13, %edi
	movb	$1, %al
	callq	printf
	movq	376(%rsp), %rsi
	movl	$.L.str.14, %edi
	xorl	%eax, %eax
	callq	printf
	movq	336(%rsp), %rsi
	movl	$.L.str.15, %edi
	xorl	%eax, %eax
	callq	printf
	movl	$.L.str.16, %edi
	movl	%ebp, %esi
	xorl	%eax, %eax
	callq	printf
	movl	412(%rsp), %esi
	movl	$.L.str.17, %edi
	xorl	%eax, %eax
	callq	printf
	movq	320(%rsp), %rsi
	movl	$.L.str.18, %edi
	xorl	%eax, %eax
	callq	printf
	movl	328(%rsp), %esi
	movl	$.L.str.19, %edi
	xorl	%eax, %eax
	callq	printf
	movl	332(%rsp), %esi
	movl	$.L.str.20, %edi
	xorl	%eax, %eax
	callq	printf
	movl	344(%rsp), %esi
	movl	$.L.str.21, %edi
	xorl	%eax, %eax
	callq	printf
	movl	348(%rsp), %esi
	movl	352(%rsp), %edx
	movl	356(%rsp), %ecx
	movl	$.L.str.22, %edi
	xorl	%eax, %eax
	callq	printf
	movl	348(%rsp), %esi
	movl	352(%rsp), %edx
	movl	356(%rsp), %ecx
	movl	$.L.str.23, %edi
	xorl	%eax, %eax
	callq	printf
	incl	%ebp
	cmpl	20(%rsp), %ebp
	jl	.LBB0_2
.LBB0_3:                                # %._crit_edge
	movl	$1, %eax
	addq	$1496, %rsp                     # imm = 0x5D8
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	main, .Lfunc_end0-main
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"\n------------------------Device ID: %d (general info)------------------------\n"
	.size	.L.str, 79

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"Device name: %s\n"
	.size	.L.str.1, 17

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"Driver version: %d.%d\n"
	.size	.L.str.2, 23

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"Runtime version: %d.%d\n"
	.size	.L.str.3, 24

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"Compute capability version: %d.%d\n"
	.size	.L.str.4, 35

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"Clock rate: %.0f MHz\n"
	.size	.L.str.5, 22

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"Concurrent kernels: %s\n"
	.size	.L.str.6, 24

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"Yes"
	.size	.L.str.7, 4

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"No"
	.size	.L.str.8, 3

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"Kernel execution timeout: %s\n"
	.size	.L.str.9, 30

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"Integrated GPU sharing host memory: %s\n"
	.size	.L.str.10, 40

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	"Support host page locked memory mapping: %s\n"
	.size	.L.str.11, 45

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	"\n------------------------Device ID: %d (memory info)-------------------------\n"
	.size	.L.str.12, 79

	.type	.L.str.13,@object               # @.str.13
.L.str.13:
	.asciz	"Total global memory: %lf Mbytes\n"
	.size	.L.str.13, 33

	.type	.L.str.14,@object               # @.str.14
.L.str.14:
	.asciz	"Total constant memory: %ld bytes\n"
	.size	.L.str.14, 34

	.type	.L.str.15,@object               # @.str.15
.L.str.15:
	.asciz	"Max memory pitch: %ld bytes\n"
	.size	.L.str.15, 29

	.type	.L.str.16,@object               # @.str.16
.L.str.16:
	.asciz	"\n------------------------Device ID: %d (MP info)-----------------------------\n"
	.size	.L.str.16, 79

	.type	.L.str.17,@object               # @.str.17
.L.str.17:
	.asciz	"Multiprocessor count: %d\n"
	.size	.L.str.17, 26

	.type	.L.str.18,@object               # @.str.18
.L.str.18:
	.asciz	"Shared memory per block: %ld bytes\n"
	.size	.L.str.18, 36

	.type	.L.str.19,@object               # @.str.19
.L.str.19:
	.asciz	"Registers per block: %d\n"
	.size	.L.str.19, 25

	.type	.L.str.20,@object               # @.str.20
.L.str.20:
	.asciz	"Threads per warp: %d\n"
	.size	.L.str.20, 22

	.type	.L.str.21,@object               # @.str.21
.L.str.21:
	.asciz	"Max threads per block: %d\n"
	.size	.L.str.21, 27

	.type	.L.str.22,@object               # @.str.22
.L.str.22:
	.asciz	"Max thread dimensions: (%d, %d, %d)\n"
	.size	.L.str.22, 37

	.type	.L.str.23,@object               # @.str.23
.L.str.23:
	.asciz	"Max grid dimensions: (%d, %d, %d)\n\n"
	.size	.L.str.23, 36

	.type	__hip_cuid_,@object             # @__hip_cuid_
	.bss
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               # 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_

	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.amdgpu_metadata
---
amdhsa.kernels:  []
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
