#include <cuda_runtime.h>
#include <getopt.h>
#include <iomanip>
#include <iostream>
#include <vector>
#include <algorithm>

int main(int argc, char* argv[])
{
  float min_cc = 3.0f;

  signed char c = '\0';
  bool latest_arch = false;
  while ((c = getopt(argc, argv, "lh?")) != -1) {
    switch (c) {
    case 'l': latest_arch = true; break;
    case '?':
    case 'h':
    default:
      std::cout << "usage: " << argv[0] << std::endl << " -l {select latest cuda architecture} " << std::endl;
      return -1;
    }
  }

  int n_devices = 0;
  int rc = cudaGetDeviceCount(&n_devices);
  if (rc != cudaSuccess) {
    cudaError_t error = cudaGetLastError();
    std::cout << "CUDA error: " << cudaGetErrorString(error) << std::endl;
    return rc;
  }

  std::vector<std::pair<int, int>> arch(n_devices);

  for (int cd = 0; cd < n_devices; ++cd) {
    cudaDeviceProp dev;
    int rc = cudaGetDeviceProperties(&dev, cd);
    if (rc != cudaSuccess) {
      cudaError_t error = cudaGetLastError();
      std::cout << "CUDA error: " << cudaGetErrorString(error) << std::endl;
      return rc;
    }
    else {
      arch[cd] = {dev.major, dev.minor};
    }
  }

  std::pair<int, int> best_cc {0, 0};
  if (latest_arch) {
    best_cc = *std::max_element(begin(arch), end(arch));
  }
  else {
    best_cc = *std::min_element(begin(arch), end(arch));
  }

  if ((best_cc.first + best_cc.second / 10.f) < min_cc) {
    std::cout << "Min Compute Capability of " << std::fixed << std::setprecision(1) << min_cc << " required; "
              << best_cc.first << "." << best_cc.second << " found.";
    return 1;
  }
  else {
    std::cout << "sm_" << best_cc.first << best_cc.second;
    return 0;
  }
}

	.file	"tmpxft_0036bdfd_00000000-6_cuda_arch.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.section	.text._ZSt5fixedRSt8ios_base,"axG",@progbits,_ZSt5fixedRSt8ios_base,comdat
	.weak	_ZSt5fixedRSt8ios_base
	.type	_ZSt5fixedRSt8ios_base, @function
_ZSt5fixedRSt8ios_base:
.LFB3285:
	.cfi_startproc
	endbr64
	movl	24(%rdi), %edx
	movq	%rdi, %rax
	andl	$-261, %edx
	orl	$4, %edx
	movl	%edx, 24(%rdi)
	ret
	.cfi_endproc
.LFE3285:
	.size	_ZSt5fixedRSt8ios_base, .-_ZSt5fixedRSt8ios_base
	.text
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4549:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4549:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4572:
	.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
.LFE4572:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt6vectorISt4pairIiiESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorISt4pairIiiESaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev
	.type	_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev, @function
_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev:
.LFB4899:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L5
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L5:
	ret
	.cfi_endproc
.LFE4899:
	.size	_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev, .-_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev
	.weak	_ZNSt6vectorISt4pairIiiESaIS1_EED1Ev
	.set	_ZNSt6vectorISt4pairIiiESaIS1_EED1Ev,_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"usage: "
.LC1:
	.string	" -l {select latest cuda architecture} "
.LC2:
	.string	"lh?"
.LC3:
	.string	"CUDA error: "
.LC4:
	.string	"cannot create std::vector larger than max_size()"
.LC7:
	.string	"Min Compute Capability of "
.LC9:
	.string	" required; "
.LC10:
	.string	"."
.LC11:
	.string	" found."
.LC12:
	.string	"sm_"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4532:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4532
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%r15d, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%edi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$1096, %rsp
	.cfi_def_cfa_offset 1152
	movq	%fs:40, %rax
	movq	%rax, 1080(%rsp)
	xorl	%eax, %eax
.L9:
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movl	%ebp, %edi
	call	getopt@PLT
	cmpb	$-1, %al
	je	.L50
	movb	$1, %r15b
	cmpb	$108, %al
	je	.L9
	leaq	.LC0(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	orl	$-1, %r13d
.LEHB0:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC1(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	jmp	.L8
.L50:
	xorl	%ecx, %ecx
	leaq	20(%rsp), %rdi
	movl	%ecx, 20(%rsp)
	call	cudaGetDeviceCount@PLT
	movl	%eax, %r13d
	testl	%eax, %eax
	je	.L12
	call	cudaGetLastError@PLT
	leaq	.LC3(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	movl	%eax, %ebp
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rbx, %rdi
	movq	%rax, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	jmp	.L8
.L12:
	movabsq	$1152921504606846975, %rax
	movslq	20(%rsp), %rbp
	cmpq	%rbp, %rax
	jnb	.L13
	movq	1080(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L49
	leaq	.LC4(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L13:
	leaq	0(,%rbp,8), %r12
	xorl	%ebx, %ebx
	testq	%rbp, %rbp
	je	.L15
	movq	%r12, %rdi
	call	_Znwm@PLT
.LEHE0:
	movq	%rax, %rbx
.L15:
	addq	%rbx, %r12
	movq	%rbx, 24(%rsp)
	movq	%rbx, %rax
	movq	%r12, 40(%rsp)
.L16:
	testq	%rbp, %rbp
	je	.L51
	xorl	%edx, %edx
	decq	%rbp
	addq	$8, %rax
	movl	%edx, -8(%rax)
	movl	%edx, -4(%rax)
	jmp	.L16
.L51:
	leaq	48(%rsp), %rax
	movq	%r12, 32(%rsp)
	movq	%rax, 8(%rsp)
.L18:
	movl	%ebp, %esi
	cmpl	%ebp, 20(%rsp)
	jle	.L52
	movq	8(%rsp), %rdi
.LEHB1:
	call	cudaGetDeviceProperties_v2@PLT
	movl	%eax, %r14d
	testl	%eax, %eax
	je	.L19
	call	cudaGetLastError@PLT
	leaq	.LC3(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	movl	%eax, %ebp
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movl	%r14d, %r13d
	jmp	.L20
.L19:
	movl	408(%rsp), %eax
	movl	%eax, (%rbx,%rbp,8)
	movl	412(%rsp), %eax
	movl	%eax, 4(%rbx,%rbp,8)
	incq	%rbp
	jmp	.L18
.L52:
	testb	%r15b, %r15b
	je	.L22
	leaq	8(%rbx), %rax
	cmpq	%rbx, %r12
	je	.L28
.L24:
	movl	(%rbx), %ecx
	movq	%rax, %rdx
	cmpq	%rax, %r12
	je	.L28
	cmpl	(%rax), %ecx
	jl	.L25
	movq	%rbx, %rdx
	jne	.L25
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%rbx)
	cmovl	%rax, %rdx
.L25:
	addq	$8, %rax
	movq	%rdx, %rbx
	jmp	.L24
.L22:
	leaq	8(%rbx), %rax
	cmpq	%rbx, %r12
	je	.L28
.L29:
	movl	(%rbx), %ecx
	movq	%rax, %rdx
	cmpq	%rax, %r12
	je	.L28
	cmpl	(%rax), %ecx
	jg	.L30
	movq	%rbx, %rdx
	jne	.L30
	movl	4(%rbx), %ecx
	cmpl	%ecx, 4(%rax)
	cmovl	%rax, %rdx
.L30:
	addq	$8, %rax
	movq	%rdx, %rbx
	jmp	.L29
.L28:
	movl	(%rbx), %ebp
	movl	4(%rbx), %ebx
	leaq	_ZSt4cout(%rip), %rdi
	cvtsi2ssl	%ebp, %xmm1
	cvtsi2ssl	%ebx, %xmm0
	divss	.LC5(%rip), %xmm0
	addss	%xmm1, %xmm0
	movss	.LC6(%rip), %xmm1
	comiss	%xmm0, %xmm1
	jbe	.L45
	leaq	.LC7(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	_ZSt5fixedRSt8ios_base(%rip), %rsi
	call	_ZNSolsEPFRSt8ios_baseS0_E@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movsd	.LC8(%rip), %xmm0
	movq	-24(%rax), %rax
	movq	$1, 8(%rdi,%rax)
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebp, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC10(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebx, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC11(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	$1, %r13d
	jmp	.L20
.L45:
	leaq	.LC12(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebp, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	movl	%ebx, %esi
	call	_ZNSolsEi@PLT
.LEHE1:
.L20:
	leaq	24(%rsp), %rdi
	call	_ZNSt6vectorISt4pairIiiESaIS1_EED1Ev
	jmp	.L8
.L41:
	endbr64
	movq	%rax, %rbx
.L34:
	leaq	24(%rsp), %rdi
	call	_ZNSt6vectorISt4pairIiiESaIS1_EED1Ev
	movq	1080(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L49
	movq	%rbx, %rdi
.LEHB2:
	call	_Unwind_Resume@PLT
.LEHE2:
.L8:
	movq	1080(%rsp), %rax
	subq	%fs:40, %rax
	je	.L36
.L49:
	call	__stack_chk_fail@PLT
.L36:
	addq	$1096, %rsp
	.cfi_def_cfa_offset 56
	movl	%r13d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4532:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA4532:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4532-.LLSDACSB4532
.LLSDACSB4532:
	.uleb128 .LEHB0-.LFB4532
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB4532
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L41-.LFB4532
	.uleb128 0
	.uleb128 .LEHB2-.LFB4532
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
.LLSDACSE4532:
	.section	.text.startup
	.size	main, .-main
	.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
.LC5:
	.long	1092616192
	.align 4
.LC6:
	.long	1077936128
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC8:
	.long	0
	.long	1074266112
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.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 <getopt.h>
#include <iomanip>
#include <iostream>
#include <vector>
#include <algorithm>

int main(int argc, char* argv[])
{
  float min_cc = 3.0f;

  signed char c = '\0';
  bool latest_arch = false;
  while ((c = getopt(argc, argv, "lh?")) != -1) {
    switch (c) {
    case 'l': latest_arch = true; break;
    case '?':
    case 'h':
    default:
      std::cout << "usage: " << argv[0] << std::endl << " -l {select latest cuda architecture} " << std::endl;
      return -1;
    }
  }

  int n_devices = 0;
  int rc = hipGetDeviceCount(&n_devices);
  if (rc != hipSuccess) {
    hipError_t error = hipGetLastError();
    std::cout << "CUDA error: " << hipGetErrorString(error) << std::endl;
    return rc;
  }

  std::vector<std::pair<int, int>> arch(n_devices);

  for (int cd = 0; cd < n_devices; ++cd) {
    hipDeviceProp_t dev;
    int rc = hipGetDeviceProperties(&dev, cd);
    if (rc != hipSuccess) {
      hipError_t error = hipGetLastError();
      std::cout << "CUDA error: " << hipGetErrorString(error) << std::endl;
      return rc;
    }
    else {
      arch[cd] = {dev.major, dev.minor};
    }
  }

  std::pair<int, int> best_cc {0, 0};
  if (latest_arch) {
    best_cc = *std::max_element(begin(arch), end(arch));
  }
  else {
    best_cc = *std::min_element(begin(arch), end(arch));
  }

  if ((best_cc.first + best_cc.second / 10.f) < min_cc) {
    std::cout << "Min Compute Capability of " << std::fixed << std::setprecision(1) << min_cc << " required; "
              << best_cc.first << "." << best_cc.second << " found.";
    return 1;
  }
  else {
    std::cout << "sm_" << best_cc.first << best_cc.second;
    return 0;
  }
}

	.text
	.file	"cuda_arch.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI0_0:
	.long	0x41200000                      # float 10
.LCPI0_1:
	.long	0x40400000                      # float 3
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI0_2:
	.quad	0x4008000000000000              # double 3
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$1504, %rsp                     # imm = 0x5E0
	.cfi_def_cfa_offset 1552
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %rbx
	movl	%edi, %ebp
	xorl	%ecx, %ecx
.LBB0_1:                                # =>This Inner Loop Header: Depth=1
	movl	%ecx, %r12d
	movl	$.L.str, %edx
	movl	%ebp, %edi
	movq	%rbx, %rsi
	callq	getopt
	movb	$1, %cl
	cmpb	$108, %al
	je	.LBB0_1
# %bb.2:
	movzbl	%al, %eax
	cmpl	$255, %eax
	jne	.LBB0_3
# %bb.8:
	leaq	4(%rsp), %rdi
	movl	$0, (%rdi)
	callq	hipGetDeviceCount
	testl	%eax, %eax
	je	.LBB0_13
# %bb.9:
	movl	%eax, %ebx
	callq	hipGetLastError
	movl	%eax, %ebp
	movl	$_ZSt4cout, %edi
	movl	$.L.str.3, %esi
	movl	$12, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	%ebp, %edi
	callq	hipGetErrorString
	testq	%rax, %rax
	je	.LBB0_10
# %bb.11:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	strlen
	movl	$_ZSt4cout, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	jmp	.LBB0_12
.LBB0_3:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.1, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	.LBB0_4
# %bb.5:
	movq	%rbx, %rdi
	callq	strlen
	movl	$_ZSt4cout, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	jmp	.LBB0_6
.LBB0_13:
	movslq	4(%rsp), %rsi
	leaq	8(%rsp), %rdi
	leaq	32(%rsp), %rdx
	callq	_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_
	cmpl	$0, 4(%rsp)
	jle	.LBB0_27
# %bb.14:                               # %.lr.ph
	xorl	%r14d, %r14d
	leaq	32(%rsp), %r15
.LBB0_15:                               # =>This Inner Loop Header: Depth=1
.Ltmp0:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	hipGetDevicePropertiesR0600
.Ltmp1:
# %bb.16:                               #   in Loop: Header=BB0_15 Depth=1
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB0_17
# %bb.26:                               #   in Loop: Header=BB0_15 Depth=1
	movq	392(%rsp), %rax
	movq	8(%rsp), %rcx
	movq	%rax, (%rcx,%r14,8)
	incq	%r14
	movslq	4(%rsp), %rax
	cmpq	%rax, %r14
	jl	.LBB0_15
.LBB0_27:                               # %._crit_edge
	movq	8(%rsp), %rax
	movq	16(%rsp), %rcx
	cmpq	%rcx, %rax
	sete	%dil
	leaq	8(%rax), %rdx
	cmpq	%rcx, %rdx
	sete	%sil
	orb	%dil, %sil
	testb	$1, %r12b
	je	.LBB0_34
# %bb.28:
	testb	%sil, %sil
	jne	.LBB0_40
.LBB0_29:                               # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rax), %esi
	movl	(%rdx), %edi
	cmpl	%edi, %esi
	jge	.LBB0_30
.LBB0_32:                               # %_ZNK9__gnu_cxx5__ops15_Iter_less_iterclINS_17__normal_iteratorIPSt4pairIiiESt6vectorIS5_SaIS5_EEEESA_EEbT_T0_.exit.thread.i.i
                                        #   in Loop: Header=BB0_29 Depth=1
	movq	%rdx, %rax
	jmp	.LBB0_33
.LBB0_30:                               #   in Loop: Header=BB0_29 Depth=1
	jg	.LBB0_33
# %bb.31:                               # %_ZNK9__gnu_cxx5__ops15_Iter_less_iterclINS_17__normal_iteratorIPSt4pairIiiESt6vectorIS5_SaIS5_EEEESA_EEbT_T0_.exit.i.i
                                        #   in Loop: Header=BB0_29 Depth=1
	movl	4(%rax), %esi
	cmpl	4(%rdx), %esi
	jl	.LBB0_32
.LBB0_33:                               # %_ZNK9__gnu_cxx5__ops15_Iter_less_iterclINS_17__normal_iteratorIPSt4pairIiiESt6vectorIS5_SaIS5_EEEESA_EEbT_T0_.exit.thread10.i.i
                                        #   in Loop: Header=BB0_29 Depth=1
	addq	$8, %rdx
	cmpq	%rcx, %rdx
	jne	.LBB0_29
	jmp	.LBB0_40
.LBB0_4:
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rax
	leaq	_ZSt4cout(%rax), %rdi
	movl	32(%rdi), %esi
	orl	$1, %esi
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.LBB0_6:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	movq	_ZSt4cout(%rip), %rax
	movl	$_ZSt4cout, %ecx
	movq	-24(%rax), %rdi
	addq	%rcx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$38, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movl	$-1, %ebx
	jmp	.LBB0_7
.LBB0_10:
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rax
	leaq	_ZSt4cout(%rax), %rdi
	movl	32(%rdi), %esi
	orl	$1, %esi
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.LBB0_12:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit51
	movq	_ZSt4cout(%rip), %rax
	movl	$_ZSt4cout, %ecx
	movq	-24(%rax), %rdi
	addq	%rcx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	jmp	.LBB0_7
.LBB0_34:
	testb	%sil, %sil
	jne	.LBB0_40
.LBB0_35:                               # %.lr.ph.i.i59
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	movl	(%rax), %edi
	cmpl	%edi, %esi
	jge	.LBB0_36
.LBB0_38:                               # %_ZNK9__gnu_cxx5__ops15_Iter_less_iterclINS_17__normal_iteratorIPSt4pairIiiESt6vectorIS5_SaIS5_EEEESA_EEbT_T0_.exit.thread.i.i67
                                        #   in Loop: Header=BB0_35 Depth=1
	movq	%rdx, %rax
	jmp	.LBB0_39
.LBB0_36:                               #   in Loop: Header=BB0_35 Depth=1
	jg	.LBB0_39
# %bb.37:                               # %_ZNK9__gnu_cxx5__ops15_Iter_less_iterclINS_17__normal_iteratorIPSt4pairIiiESt6vectorIS5_SaIS5_EEEESA_EEbT_T0_.exit.i.i62
                                        #   in Loop: Header=BB0_35 Depth=1
	movl	4(%rdx), %esi
	cmpl	4(%rax), %esi
	jl	.LBB0_38
.LBB0_39:                               # %_ZNK9__gnu_cxx5__ops15_Iter_less_iterclINS_17__normal_iteratorIPSt4pairIiiESt6vectorIS5_SaIS5_EEEESA_EEbT_T0_.exit.thread10.i.i64
                                        #   in Loop: Header=BB0_35 Depth=1
	addq	$8, %rdx
	cmpq	%rcx, %rdx
	jne	.LBB0_35
.LBB0_40:                               # %_ZSt11max_elementIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEET_S9_S9_.exit
	movl	(%rax), %ebx
	cvtsi2ss	%ebx, %xmm0
	movl	4(%rax), %ebp
	cvtsi2ss	%ebp, %xmm1
	divss	.LCPI0_0(%rip), %xmm1
	addss	%xmm0, %xmm1
	movss	.LCPI0_1(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	.LBB0_49
# %bb.41:
.Ltmp26:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.4, %esi
	movl	$26, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp27:
# %bb.42:
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rcx
	movl	$-261, %edx                     # imm = 0xFEFB
	andl	_ZSt4cout+24(%rcx), %edx
	orl	$4, %edx
	movl	%edx, _ZSt4cout+24(%rcx)
	movq	-24(%rax), %rax
	movq	$1, _ZSt4cout+8(%rax)
.Ltmp28:
	movsd	.LCPI0_2(%rip), %xmm0           # xmm0 = mem[0],zero
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp29:
# %bb.43:                               # %_ZNSolsEf.exit
.Ltmp30:
	movq	%rax, %r14
	movl	$.L.str.5, %esi
	movl	$11, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp31:
# %bb.44:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit73
.Ltmp32:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ZNSolsEi
.Ltmp33:
# %bb.45:
.Ltmp34:
	movq	%rax, %rbx
	movl	$.L.str.6, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp35:
# %bb.46:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit75
.Ltmp36:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp37:
# %bb.47:
	movl	$1, %ebx
.Ltmp38:
	movl	$.L.str.7, %esi
	movl	$7, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp39:
	jmp	.LBB0_52
.LBB0_49:
.Ltmp20:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.8, %esi
	movl	$3, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp21:
# %bb.50:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit79
.Ltmp22:
	movl	$_ZSt4cout, %edi
	movl	%ebx, %esi
	callq	_ZNSolsEi
.Ltmp23:
# %bb.51:
	xorl	%ebx, %ebx
.Ltmp24:
	movq	%rax, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp25:
	jmp	.LBB0_52
.LBB0_17:
.Ltmp3:
	callq	hipGetLastError
.Ltmp4:
# %bb.18:
.Ltmp5:
	movl	%eax, %ebp
	movl	$_ZSt4cout, %edi
	movl	$.L.str.3, %esi
	movl	$12, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp6:
# %bb.19:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit52
.Ltmp7:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp8:
# %bb.20:
	movq	%rax, %r14
	testq	%rax, %rax
	je	.LBB0_21
# %bb.22:
	movq	%r14, %rdi
	callq	strlen
.Ltmp9:
	movl	$_ZSt4cout, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp10:
	jmp	.LBB0_23
.LBB0_21:
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rax
	leaq	_ZSt4cout(%rax), %rdi
	movl	32(%rdi), %esi
	orl	$1, %esi
.Ltmp11:
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.Ltmp12:
.LBB0_23:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit55
	movq	_ZSt4cout(%rip), %rax
	movl	$_ZSt4cout, %edi
	addq	-24(%rax), %rdi
.Ltmp13:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp14:
# %bb.24:                               # %.noexc82
.Ltmp15:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp16:
# %bb.25:                               # %.noexc83
.Ltmp17:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp18:
.LBB0_52:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit77
	movq	8(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_7
# %bb.53:
	callq	_ZdlPv
.LBB0_7:
	movl	%ebx, %eax
	addq	$1504, %rsp                     # imm = 0x5E0
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.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
.LBB0_58:
	.cfi_def_cfa_offset 1552
.Ltmp19:
	jmp	.LBB0_55
.LBB0_48:
.Ltmp40:
	jmp	.LBB0_55
.LBB0_54:
.Ltmp2:
.LBB0_55:
	movq	%rax, %rbx
	movq	8(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_57
# %bb.56:
	callq	_ZdlPv
.LBB0_57:                               # %_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev.exit81
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	main, .Lfunc_end0-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table0:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    # >> Call Site 1 <<
	.uleb128 .Ltmp0-.Lfunc_begin0           #   Call between .Lfunc_begin0 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp1-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp26-.Ltmp1                 #   Call between .Ltmp1 and .Ltmp26
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp26-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp25-.Ltmp26                #   Call between .Ltmp26 and .Ltmp25
	.uleb128 .Ltmp40-.Lfunc_begin0          #     jumps to .Ltmp40
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin0           # >> Call Site 5 <<
	.uleb128 .Ltmp18-.Ltmp3                 #   Call between .Ltmp3 and .Ltmp18
	.uleb128 .Ltmp19-.Lfunc_begin0          #     jumps to .Ltmp19
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp18-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Lfunc_end0-.Ltmp18            #   Call between .Ltmp18 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_,"axG",@progbits,_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_,comdat
	.weak	_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_ # -- Begin function _ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_,@function
_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_: # @_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB1_5
# %bb.1:                                # %_ZNSt6vectorISt4pairIiiESaIS1_EE17_S_check_init_lenEmRKS2_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB1_2
# %bb.3:                                # %.lr.ph.preheader.i.i.i.i
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%rax,%r14,8), %r15
	shlq	$3, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	memset@PLT
	jmp	.LBB1_4
.LBB1_2:                                # %_ZNSt12_Vector_baseISt4pairIiiESaIS1_EEC2EmRKS2_.exit.thread
	movups	%xmm0, (%rbx)
	xorl	%r15d, %r15d
.LBB1_4:
	movq	%r15, 16(%rbx)
	movq	%r15, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB1_5:
	.cfi_def_cfa_offset 32
	movl	$.L.str.9, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end1:
	.size	_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_, .Lfunc_end1-_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB2_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB2_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB2_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB2_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end2:
	.size	_ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv, .Lfunc_end2-_ZNSt15__new_allocatorISt4pairIiiEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"lh?"
	.size	.L.str, 4

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"usage: "
	.size	.L.str.1, 8

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	" -l {select latest cuda architecture} "
	.size	.L.str.2, 39

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"CUDA error: "
	.size	.L.str.3, 13

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"Min Compute Capability of "
	.size	.L.str.4, 27

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	" required; "
	.size	.L.str.5, 12

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"."
	.size	.L.str.6, 2

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	" found."
	.size	.L.str.7, 8

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"sm_"
	.size	.L.str.8, 4

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"cannot create std::vector larger than max_size()"
	.size	.L.str.9, 49

	.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 __gxx_personality_v0
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _ZSt4cout
	.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
