#include <iostream>
#include <string>
#include <cuda_runtime.h>

using namespace std;

string getDeviceArchitecture( cudaDeviceProp devProp )
{
	string sign = "";
	switch( devProp.major )
	{
		case 2:
			sign = "Fermi";
			break;
		case 3:
			sign = "Kepler";
			break;
		case 5:
			sign = "Maxwell";
			break;
		case 6:
			sign = "Pascal";
			break;
		case 7:
			sign = "Volta or Turing";
			break;
		case 8:
			sign = "Ampere";
			break;
		default:
			sign = "Unknown device type";
			break;
	}
	return sign;
}

int getSPcores( cudaDeviceProp devProp )
{
	int cores = 0;
	int mp = devProp.multiProcessorCount;
	switch( devProp.major )
	{
		case 2:
			if( devProp.minor == 1 ) cores = mp * 48;
			else cores = mp * 32;
			break;
		case 3:
			cores = mp * 192;
			break;
		case 5:
			cores = mp * 128;
			break;
		case 6:
			if( ( devProp.minor == 1 ) || ( devProp.minor == 2 ) ) cores = mp * 128;
			else if( devProp.minor == 0 ) cores = mp * 64;
			else cout << "Unknown device type\n";
			break;
		case 7:
			if( ( devProp.minor == 0 ) || ( devProp.minor == 5 ) ) cores = mp * 64;
			else cout << "Unknown device type\n";
			break;
		case 8:
			if( devProp.minor == 0 ) cores = mp * 64;
			else if( devProp.minor == 6 ) cores = mp * 128;
			else cout << "Unknown device type\n";
			break;
		default:
			cout << "Unknown device type\n"; 
			break;
	}
	return cores;
}

void printDevProp( int i )
{
	cudaDeviceProp devProp;
	cudaGetDeviceProperties( &devProp, i );
	cout << " - ASCII string identifying device: " << devProp.name << "\n";
	cout << " - Device architecture name: " << getDeviceArchitecture( devProp ) << "\n";
	cout << " - Major compute capability: " << devProp.major << "\n";
	cout << " - Minor compute capability: " << devProp.minor << "\n";
	cout << " - Number of multiprocessors on device: " << devProp.multiProcessorCount << "\n";
	cout << " - Number of CUDA cores: " << getSPcores( devProp ) << "\n";
	cout << " - Global memory available on device in bytes: " << devProp.totalGlobalMem << "\n";
	cout << " - Shared memory available per block in bytes: " << devProp.sharedMemPerBlock << "\n";
	cout << " - 32-bit registers available per block: " << devProp.regsPerBlock << "\n";
	cout << " - Warp size in threads: " << devProp.warpSize << "\n";
	cout << " - Maximum pitch in bytes allowed by memory copies: " << devProp.memPitch << "\n";
	cout << " - Maximum number of threads per block: " << devProp.maxThreadsPerBlock << "\n";
	for( int i = 0 ; i < 3 ; ++i )
		cout << " - Maximum dimension " << i << " of the grid: " << devProp.maxGridSize[i] << "\n";
	for ( int i = 0 ; i < 3 ; ++i )
		cout << " - Maximum dimension " << i << " of the block: " << devProp.maxThreadsDim[i] << "\n";
	cout << " - Clock frequency in kilohertz: " << devProp.clockRate << "\n";
	cout << " - Constant memory available on device in bytes: " << devProp.totalConstMem << "\n";
	cout << " - Number of asynchronous engines: " << devProp.asyncEngineCount << "\n";
	cout << " - Specified whether there is a run time limit on kernels: " << devProp.kernelExecTimeoutEnabled << "\n";
	cout << " - Alignment requirement for textures: " << devProp.textureAlignment << "\n";
}

int main( int argc, char* argv[] )
{
	int devCount;
	cudaGetDeviceCount( &devCount );

	cout << "##################################################\n";
	cout << "\t  > CUDA Device Specifications <\n";
	cout << "\t     (Total CUDA devices: " << devCount << ")\n";

	for ( int i = 0 ; i < devCount ; ++i )
	{
		cout << "##################################################\n";
		cout << "+ CUDA device: " << i << "\n";
		printDevProp( i );
		cout << "##################################################\n\n";
	}

	system( "pause" );
	return 0;
}

	.file	"tmpxft_002795e4_00000000-6_kernel.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB3641:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE3641:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0, @function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0:
.LFB4295:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	pushq	%rax
	.cfi_def_cfa_offset 32
	call	strlen@PLT
	movq	8(%rbx), %rdx
	movq	%rbp, %rcx
	popq	%r9
	.cfi_def_cfa_offset 24
	movq	%rbx, %rdi
	movq	%rax, %r8
	popq	%rbx
	.cfi_def_cfa_offset 16
	xorl	%esi, %esi
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm@PLT
	.cfi_endproc
.LFE4295:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0, .-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"Fermi"
.LC2:
	.string	"Kepler"
.LC3:
	.string	"Maxwell"
.LC4:
	.string	"Pascal"
.LC5:
	.string	"Volta or Turing"
.LC6:
	.string	"Ampere"
.LC7:
	.string	"Unknown device type"
	.text
	.globl	_Z21getDeviceArchitectureB5cxx1114cudaDeviceProp
	.type	_Z21getDeviceArchitectureB5cxx1114cudaDeviceProp, @function
_Z21getDeviceArchitectureB5cxx1114cudaDeviceProp:
.LFB3635:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA3635
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rsi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	addq	$16, %rdi
	movq	%rsi, %rdx
	pushq	%rcx
	.cfi_def_cfa_offset 32
	movq	%rdi, (%rbx)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_@PLT
	movq	(%rbx), %rax
	xorl	%esi, %esi
	movq	%rsi, 8(%rbx)
	movb	$0, (%rax)
	movl	392(%rsp), %eax
	subl	$2, %eax
	cmpl	$6, %eax
	ja	.L5
	leaq	.L7(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L12-.L7
	.long	.L11-.L7
	.long	.L5-.L7
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L8-.L7
	.long	.L6-.L7
	.text
.L12:
	leaq	.LC1(%rip), %rsi
	jmp	.L18
.L11:
	leaq	.LC2(%rip), %rsi
	jmp	.L18
.L10:
	leaq	.LC3(%rip), %rsi
	jmp	.L18
.L9:
	leaq	.LC4(%rip), %rsi
	jmp	.L18
.L8:
	leaq	.LC5(%rip), %rsi
	jmp	.L18
.L6:
	leaq	.LC6(%rip), %rsi
	jmp	.L18
.L5:
	leaq	.LC7(%rip), %rsi
.L18:
	movq	%rbx, %rdi
.LEHB0:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0
.LEHE0:
	movq	%rbx, %rax
	popq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	endbr64
	movq	%rax, %rbp
.L14:
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%rbp, %rdi
.LEHB1:
	call	_Unwind_Resume@PLT
.LEHE1:
	.cfi_endproc
.LFE3635:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA3635:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE3635-.LLSDACSB3635
.LLSDACSB3635:
	.uleb128 .LEHB0-.LFB3635
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L15-.LFB3635
	.uleb128 0
	.uleb128 .LEHB1-.LFB3635
	.uleb128 .LEHE1-.LEHB1
	.uleb128 0
	.uleb128 0
.LLSDACSE3635:
	.text
	.size	_Z21getDeviceArchitectureB5cxx1114cudaDeviceProp, .-_Z21getDeviceArchitectureB5cxx1114cudaDeviceProp
	.section	.rodata.str1.1
.LC8:
	.string	"Unknown device type\n"
	.text
	.globl	_Z10getSPcores14cudaDeviceProp
	.type	_Z10getSPcores14cudaDeviceProp, @function
_Z10getSPcores14cudaDeviceProp:
.LFB3636:
	.cfi_startproc
	endbr64
	pushq	%rcx
	.cfi_def_cfa_offset 16
	movl	376(%rsp), %eax
	movl	380(%rsp), %edx
	subl	$2, %eax
	movd	404(%rsp), %xmm0
	cmpl	$6, %eax
	ja	.L30
	leaq	.L32(%rip), %rsi
	movd	%xmm0, %ecx
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L32:
	.long	.L37-.L32
	.long	.L36-.L32
	.long	.L30-.L32
	.long	.L51-.L32
	.long	.L34-.L32
	.long	.L33-.L32
	.long	.L31-.L32
	.text
.L37:
	pslld	$5, %xmm0
	decl	%edx
	movd	%xmm0, %eax
	jne	.L29
	imull	$48, %ecx, %eax
	jmp	.L29
.L36:
	imull	$192, %ecx, %eax
	jmp	.L29
.L34:
	leal	-1(%rdx), %eax
	cmpl	$1, %eax
	ja	.L54
	jmp	.L51
.L33:
	cmpl	$5, %edx
	je	.L52
.L54:
	testl	%edx, %edx
	je	.L52
	jmp	.L30
.L31:
	testl	%edx, %edx
	jne	.L44
.L52:
	pslld	$6, %xmm0
	jmp	.L50
.L44:
	cmpl	$6, %edx
	jne	.L30
.L51:
	pslld	$7, %xmm0
.L50:
	movd	%xmm0, %eax
	jmp	.L29
.L30:
	leaq	.LC8(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	xorl	%eax, %eax
.L29:
	popq	%rdx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3636:
	.size	_Z10getSPcores14cudaDeviceProp, .-_Z10getSPcores14cudaDeviceProp
	.section	.rodata.str1.1
.LC9:
	.string	" - ASCII string identifying device: "
.LC10:
	.string	"\n"
.LC11:
	.string	" - Device architecture name: "
.LC12:
	.string	" - Major compute capability: "
.LC13:
	.string	" - Minor compute capability: "
.LC14:
	.string	" - Number of multiprocessors on device: "
.LC15:
	.string	" - Number of CUDA cores: "
.LC16:
	.string	" - Global memory available on device in bytes: "
.LC17:
	.string	" - Shared memory available per block in bytes: "
.LC18:
	.string	" - 32-bit registers available per block: "
.LC19:
	.string	" - Warp size in threads: "
.LC20:
	.string	" - Maximum pitch in bytes allowed by memory copies: "
.LC21:
	.string	" - Maximum number of threads per block: "
.LC22:
	.string	" - Maximum dimension "
.LC23:
	.string	" of the grid: "
.LC24:
	.string	" of the block: "
.LC25:
	.string	" - Clock frequency in kilohertz: "
.LC26:
	.string	" - Constant memory available on device in bytes: "
.LC27:
	.string	" - Number of asynchronous engines: "
.LC28:
	.string	" - Specified whether there is a run time limit on kernels: "
.LC29:
	.string	" - Alignment requirement for textures: "
	.text
	.globl	_Z12printDevPropi
	.type	_Z12printDevPropi, @function
_Z12printDevPropi:
.LFB3637:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA3637
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %esi
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	_ZSt4cout(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC10(%rip), %rbx
	subq	$1080, %rsp
	.cfi_def_cfa_offset 1136
	movq	%fs:40, %rax
	movq	%rax, 1064(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %r12
	movq	%rsp, %r13
	movq	%r12, %rdi
.LEHB2:
	call	cudaGetDeviceProperties_v2@PLT
	leaq	.LC9(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%r12, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC11(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	subq	$1040, %rsp
	.cfi_def_cfa_offset 2176
	movl	$258, %ecx
	movq	%r12, %rsi
	movq	%rsp, %rdi
	movq	%rax, %r14
	rep movsl
	movq	%r13, %rdi
	call	_Z21getDeviceArchitectureB5cxx1114cudaDeviceProp
.LEHE2:
	movq	%r13, %rsp
	.cfi_def_cfa_offset 1136
	movq	%r13, %rsi
	movq	%r14, %rdi
.LEHB3:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	movq	%rbx, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.LEHE3:
	movq	%r13, %rdi
	leaq	.LC22(%rip), %r14
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	.LC12(%rip), %rsi
	movq	%rbp, %rdi
.LEHB4:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	392(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC13(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	396(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC14(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	420(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC15(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	subq	$1040, %rsp
	.cfi_def_cfa_offset 2176
	movl	$258, %ecx
	movq	%r12, %rsi
	movq	%rsp, %rdi
	movq	%rax, %r13
	rep movsl
	call	_Z10getSPcores14cudaDeviceProp
	addq	$1040, %rsp
	.cfi_def_cfa_offset 1136
	movq	%r13, %rdi
	movl	%eax, %esi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC16(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	320(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC17(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	328(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC18(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	336(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC19(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	340(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC20(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	344(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC21(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	352(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	xorl	%r13d, %r13d
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.L56:
	movq	%r14, %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r13d, %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	leaq	.LC23(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	336(%r12,%r13,4), %esi
	incq	%r13
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	cmpq	$3, %r13
	jne	.L56
	xorl	%r13d, %r13d
	leaq	.LC24(%rip), %r15
.L57:
	movq	%r14, %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r13d, %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%r15, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	324(%r12,%r13,4), %esi
	incq	%r13
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	cmpq	$3, %r13
	jne	.L57
	leaq	.LC25(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	380(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC26(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	384(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC27(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	632(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC28(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	424(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC29(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	400(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rbx, %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	1064(%rsp), %rax
	subq	%fs:40, %rax
	je	.L60
	jmp	.L64
.L61:
	endbr64
	movq	%rax, %rbx
.L58:
	movq	%r13, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	1064(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L64
	movq	%rbx, %rdi
	call	_Unwind_Resume@PLT
.LEHE4:
.L64:
	call	__stack_chk_fail@PLT
.L60:
	addq	$1080, %rsp
	.cfi_def_cfa_offset 56
	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
.LFE3637:
	.section	.gcc_except_table
.LLSDA3637:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE3637-.LLSDACSB3637
.LLSDACSB3637:
	.uleb128 .LEHB2-.LFB3637
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB3-.LFB3637
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L61-.LFB3637
	.uleb128 0
	.uleb128 .LEHB4-.LFB3637
	.uleb128 .LEHE4-.LEHB4
	.uleb128 0
	.uleb128 0
.LLSDACSE3637:
	.text
	.size	_Z12printDevPropi, .-_Z12printDevPropi
	.section	.rodata.str1.1
.LC30:
	.string	"##################################################\n"
.LC31:
	.string	"\t  > CUDA Device Specifications <\n"
.LC32:
	.string	"\t     (Total CUDA devices: "
.LC33:
	.string	")\n"
.LC34:
	.string	"+ CUDA device: "
.LC35:
	.string	"##################################################\n\n"
.LC36:
	.string	"pause"
	.section	.text.startup,"ax",@progbits
	.globl	main
	.type	main, @function
main:
.LFB3638:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC34(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC30(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	_ZSt4cout(%rip), %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdi
	call	cudaGetDeviceCount@PLT
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC31(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC32(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	4(%rsp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	leaq	.LC33(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.L67:
	cmpl	%ebp, 4(%rsp)
	jle	.L71
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%r13, %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	leaq	.LC10(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %edi
	incl	%ebp
	call	_Z12printDevPropi
	leaq	.LC35(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	jmp	.L67
.L71:
	leaq	.LC36(%rip), %rdi
	call	system@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	addq	$24, %rsp
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3638:
	.size	main, .-main
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB3664:
	.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
.LFE3664:
	.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
	.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 <iostream>
#include <string>
#include <hip/hip_runtime.h>

using namespace std;

string getDeviceArchitecture( hipDeviceProp_t devProp )
{
	string sign = "";
	switch( devProp.major )
	{
		case 2:
			sign = "Fermi";
			break;
		case 3:
			sign = "Kepler";
			break;
		case 5:
			sign = "Maxwell";
			break;
		case 6:
			sign = "Pascal";
			break;
		case 7:
			sign = "Volta or Turing";
			break;
		case 8:
			sign = "Ampere";
			break;
		default:
			sign = "Unknown device type";
			break;
	}
	return sign;
}

int getSPcores( hipDeviceProp_t devProp )
{
	int cores = 0;
	int mp = devProp.multiProcessorCount;
	switch( devProp.major )
	{
		case 2:
			if( devProp.minor == 1 ) cores = mp * 48;
			else cores = mp * 32;
			break;
		case 3:
			cores = mp * 192;
			break;
		case 5:
			cores = mp * 128;
			break;
		case 6:
			if( ( devProp.minor == 1 ) || ( devProp.minor == 2 ) ) cores = mp * 128;
			else if( devProp.minor == 0 ) cores = mp * 64;
			else cout << "Unknown device type\n";
			break;
		case 7:
			if( ( devProp.minor == 0 ) || ( devProp.minor == 5 ) ) cores = mp * 64;
			else cout << "Unknown device type\n";
			break;
		case 8:
			if( devProp.minor == 0 ) cores = mp * 64;
			else if( devProp.minor == 6 ) cores = mp * 128;
			else cout << "Unknown device type\n";
			break;
		default:
			cout << "Unknown device type\n"; 
			break;
	}
	return cores;
}

void printDevProp( int i )
{
	hipDeviceProp_t devProp;
	hipGetDeviceProperties( &devProp, i );
	cout << " - ASCII string identifying device: " << devProp.name << "\n";
	cout << " - Device architecture name: " << getDeviceArchitecture( devProp ) << "\n";
	cout << " - Major compute capability: " << devProp.major << "\n";
	cout << " - Minor compute capability: " << devProp.minor << "\n";
	cout << " - Number of multiprocessors on device: " << devProp.multiProcessorCount << "\n";
	cout << " - Number of CUDA cores: " << getSPcores( devProp ) << "\n";
	cout << " - Global memory available on device in bytes: " << devProp.totalGlobalMem << "\n";
	cout << " - Shared memory available per block in bytes: " << devProp.sharedMemPerBlock << "\n";
	cout << " - 32-bit registers available per block: " << devProp.regsPerBlock << "\n";
	cout << " - Warp size in threads: " << devProp.warpSize << "\n";
	cout << " - Maximum pitch in bytes allowed by memory copies: " << devProp.memPitch << "\n";
	cout << " - Maximum number of threads per block: " << devProp.maxThreadsPerBlock << "\n";
	for( int i = 0 ; i < 3 ; ++i )
		cout << " - Maximum dimension " << i << " of the grid: " << devProp.maxGridSize[i] << "\n";
	for ( int i = 0 ; i < 3 ; ++i )
		cout << " - Maximum dimension " << i << " of the block: " << devProp.maxThreadsDim[i] << "\n";
	cout << " - Clock frequency in kilohertz: " << devProp.clockRate << "\n";
	cout << " - Constant memory available on device in bytes: " << devProp.totalConstMem << "\n";
	cout << " - Number of asynchronous engines: " << devProp.asyncEngineCount << "\n";
	cout << " - Specified whether there is a run time limit on kernels: " << devProp.kernelExecTimeoutEnabled << "\n";
	cout << " - Alignment requirement for textures: " << devProp.textureAlignment << "\n";
}

int main( int argc, char* argv[] )
{
	int devCount;
	hipGetDeviceCount( &devCount );

	cout << "##################################################\n";
	cout << "\t  > CUDA Device Specifications <\n";
	cout << "\t     (Total CUDA devices: " << devCount << ")\n";

	for ( int i = 0 ; i < devCount ; ++i )
	{
		cout << "##################################################\n";
		cout << "+ CUDA device: " << i << "\n";
		printDevProp( i );
		cout << "##################################################\n\n";
	}

	system( "pause" );
	return 0;
}

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

                                        # End of file scope inline assembly
	.globl	_Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600 # -- Begin function _Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600
	.type	_Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600,@function
_Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600: # @_Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit
	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	%rdi, %rbx
	leaq	16(%rdi), %r15
	movq	%r15, (%rdi)
	movl	$.L.str, %esi
	movl	$.L.str, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	movl	392(%rsp), %eax
	movq	8(%rbx), %rdx
	addl	$-2, %eax
	cmpl	$7, %eax
	jae	.LBB0_1
# %bb.5:                                # %switch.lookup
	movl	%eax, %eax
	movq	.Lswitch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600(,%rax,8), %rcx
	movq	.Lswitch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600.1(,%rax,8), %r8
	jmp	.LBB0_6
.LBB0_1:
	movl	$19, %r8d
	movl	$.L.str.7, %ecx
.LBB0_6:                                # %.invoke
.Ltmp0:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
.Ltmp1:
# %bb.7:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.exit
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB0_2:
	.cfi_def_cfa_offset 32
.Ltmp2:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	cmpq	%r15, %rdi
	je	.LBB0_4
# %bb.3:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB0_4:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	_Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600, .Lfunc_end0-_Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600
	.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 .Lfunc_end0-.Ltmp1             #   Call between .Ltmp1 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z10getSPcores20hipDeviceProp_tR0600 # -- Begin function _Z10getSPcores20hipDeviceProp_tR0600
	.type	_Z10getSPcores20hipDeviceProp_tR0600,@function
_Z10getSPcores20hipDeviceProp_tR0600:   # @_Z10getSPcores20hipDeviceProp_tR0600
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movl	376(%rsp), %ecx
	addl	$-2, %ecx
	cmpl	$6, %ecx
	ja	.LBB1_14
# %bb.1:
	leaq	16(%rsp), %rdx
	movl	388(%rdx), %eax
	jmpq	*.LJTI1_0(,%rcx,8)
.LBB1_2:
	cmpl	$1, 364(%rdx)
	jne	.LBB1_12
# %bb.3:
	shll	$4, %eax
	jmp	.LBB1_4
.LBB1_5:
	movl	364(%rdx), %ecx
	cmpl	$6, %ecx
	jne	.LBB1_10
	jmp	.LBB1_8
.LBB1_6:
	shll	$6, %eax
.LBB1_4:
	leal	(%rax,%rax,2), %eax
	jmp	.LBB1_15
.LBB1_7:
	movl	364(%rdx), %ecx
	leal	-1(%rcx), %edx
	cmpl	$1, %edx
	ja	.LBB1_13
.LBB1_8:
	shll	$7, %eax
	jmp	.LBB1_15
.LBB1_9:
	movl	364(%rdx), %ecx
	cmpl	$5, %ecx
	je	.LBB1_11
.LBB1_10:
	testl	%ecx, %ecx
	jne	.LBB1_14
.LBB1_11:
	shll	$6, %eax
	jmp	.LBB1_15
.LBB1_12:
	shll	$5, %eax
	jmp	.LBB1_15
.LBB1_13:
	testl	%ecx, %ecx
	je	.LBB1_11
.LBB1_14:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.8, %esi
	movl	$20, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	xorl	%eax, %eax
.LBB1_15:
                                        # kill: def $eax killed $eax killed $rax
	popq	%rcx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end1:
	.size	_Z10getSPcores20hipDeviceProp_tR0600, .Lfunc_end1-_Z10getSPcores20hipDeviceProp_tR0600
	.cfi_endproc
	.section	.rodata,"a",@progbits
	.p2align	3, 0x0
.LJTI1_0:
	.quad	.LBB1_2
	.quad	.LBB1_6
	.quad	.LBB1_14
	.quad	.LBB1_8
	.quad	.LBB1_7
	.quad	.LBB1_9
	.quad	.LBB1_5
                                        # -- End function
	.text
	.globl	_Z12printDevPropi               # -- Begin function _Z12printDevPropi
	.type	_Z12printDevPropi,@function
_Z12printDevPropi:                      # @_Z12printDevPropi
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	subq	$2984, %rsp                     # imm = 0xBA8
	.cfi_def_cfa_offset 3008
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movl	%edi, %esi
	leaq	1512(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipGetDevicePropertiesR0600
	movl	$_ZSt4cout, %edi
	movl	$.L.str.9, %esi
	movl	$36, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	%rbx, %rdi
	callq	strlen
	movl	$_ZSt4cout, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.11, %esi
	movl	$29, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$184, %ecx
	movq	%rsp, %rdi
	movq	%rbx, %rsi
	rep;movsq (%rsi), %es:(%rdi)
	leaq	1480(%rsp), %rbx
	movq	%rbx, %rdi
	callq	_Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
.Ltmp3:
	movl	$_ZSt4cout, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp4:
# %bb.1:                                # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit
.Ltmp5:
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp6:
# %bb.2:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	leaq	1496(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB2_4
# %bb.3:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB2_4:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	movl	$_ZSt4cout, %edi
	movl	$.L.str.12, %esi
	movl	$29, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	leaq	1512(%rsp), %rbx
	movl	360(%rbx), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.13, %esi
	movl	$29, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	364(%rbx), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.14, %esi
	movl	$40, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	388(%rbx), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.15, %esi
	movl	$25, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$184, %ecx
	movq	%rsp, %rdi
	movq	%rbx, %rsi
	rep;movsq (%rsi), %es:(%rdi)
	callq	_Z10getSPcores20hipDeviceProp_tR0600
	movl	$_ZSt4cout, %edi
	movl	%eax, %esi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.16, %esi
	movl	$47, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	288(%rbx), %rsi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.17, %esi
	movl	$47, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	296(%rbx), %rsi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.18, %esi
	movl	$41, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	304(%rbx), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.19, %esi
	movl	$25, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	308(%rbx), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.20, %esi
	movl	$52, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	312(%rbx), %rsi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.21, %esi
	movl	$40, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	320(%rbx), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	xorl	%ebx, %ebx
.LBB2_5:                                # =>This Inner Loop Header: Depth=1
	movl	$_ZSt4cout, %edi
	movl	$.L.str.22, %esi
	movl	$21, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	%ebx, %esi
	callq	_ZNSolsEi
	movq	%rax, %r14
	movl	$.L.str.23, %esi
	movl	$14, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	1848(%rsp,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	incq	%rbx
	cmpq	$3, %rbx
	jne	.LBB2_5
# %bb.6:                                # %.preheader.preheader
	xorl	%ebx, %ebx
.LBB2_7:                                # %.preheader
                                        # =>This Inner Loop Header: Depth=1
	movl	$_ZSt4cout, %edi
	movl	$.L.str.22, %esi
	movl	$21, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	%ebx, %esi
	callq	_ZNSolsEi
	movq	%rax, %r14
	movl	$.L.str.24, %esi
	movl	$15, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	1836(%rsp,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	incq	%rbx
	cmpq	$3, %rbx
	jne	.LBB2_7
# %bb.8:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.25, %esi
	movl	$33, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	1860(%rsp), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.26, %esi
	movl	$49, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	1864(%rsp), %rsi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.27, %esi
	movl	$35, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	2112(%rsp), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.28, %esi
	movl	$59, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	1904(%rsp), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.29, %esi
	movl	$39, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	1880(%rsp), %rsi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	addq	$2984, %rsp                     # imm = 0xBA8
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB2_9:
	.cfi_def_cfa_offset 3008
.Ltmp7:
	movq	%rax, %rbx
	leaq	1496(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB2_11
# %bb.10:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i11
	callq	_ZdlPv
.LBB2_11:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit13
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end2:
	.size	_Z12printDevPropi, .Lfunc_end2-_Z12printDevPropi
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table2:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp3-.Lfunc_begin1           #   Call between .Lfunc_begin1 and .Ltmp3
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin1           # >> Call Site 2 <<
	.uleb128 .Ltmp6-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp6
	.uleb128 .Ltmp7-.Lfunc_begin1           #     jumps to .Ltmp7
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin1           # >> Call Site 3 <<
	.uleb128 .Lfunc_end2-.Ltmp6             #   Call between .Ltmp6 and .Lfunc_end2
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	main                            # -- Begin function main
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -16
	leaq	12(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipGetDeviceCount
	movl	$_ZSt4cout, %edi
	movl	$.L.str.30, %esi
	movl	$51, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.31, %esi
	movl	$34, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.32, %esi
	movl	$27, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	(%rbx), %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
	movl	$.L.str.33, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	cmpl	$0, (%rbx)
	jle	.LBB3_3
# %bb.1:                                # %.lr.ph.preheader
	xorl	%ebx, %ebx
.LBB3_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movl	$_ZSt4cout, %edi
	movl	$.L.str.30, %esi
	movl	$51, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.34, %esi
	movl	$15, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	%ebx, %esi
	callq	_ZNSolsEi
	movl	$.L.str.10, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	%ebx, %edi
	callq	_Z12printDevPropi
	movl	$_ZSt4cout, %edi
	movl	$.L.str.35, %esi
	movl	$52, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	incl	%ebx
	cmpl	12(%rsp), %ebx
	jl	.LBB3_2
.LBB3_3:                                # %._crit_edge
	movl	$.L.str.36, %edi
	callq	system
	xorl	%eax, %eax
	addq	$16, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	main, .Lfunc_end3-main
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB4_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB4_3
.LBB4_1:                                # %._crit_edge
	movq	(%rbx), %rax
.LBB4_3:
	testq	%r14, %r14
	je	.LBB4_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB4_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB4_7
.LBB4_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB4_7:                                # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag, .Lfunc_end4-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.zero	1
	.size	.L.str, 1

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

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

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

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

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"Volta or Turing"
	.size	.L.str.5, 16

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

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"Unknown device type"
	.size	.L.str.7, 20

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"Unknown device type\n"
	.size	.L.str.8, 21

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	" - ASCII string identifying device: "
	.size	.L.str.9, 37

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"\n"
	.size	.L.str.10, 2

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	" - Device architecture name: "
	.size	.L.str.11, 30

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	" - Major compute capability: "
	.size	.L.str.12, 30

	.type	.L.str.13,@object               # @.str.13
.L.str.13:
	.asciz	" - Minor compute capability: "
	.size	.L.str.13, 30

	.type	.L.str.14,@object               # @.str.14
.L.str.14:
	.asciz	" - Number of multiprocessors on device: "
	.size	.L.str.14, 41

	.type	.L.str.15,@object               # @.str.15
.L.str.15:
	.asciz	" - Number of CUDA cores: "
	.size	.L.str.15, 26

	.type	.L.str.16,@object               # @.str.16
.L.str.16:
	.asciz	" - Global memory available on device in bytes: "
	.size	.L.str.16, 48

	.type	.L.str.17,@object               # @.str.17
.L.str.17:
	.asciz	" - Shared memory available per block in bytes: "
	.size	.L.str.17, 48

	.type	.L.str.18,@object               # @.str.18
.L.str.18:
	.asciz	" - 32-bit registers available per block: "
	.size	.L.str.18, 42

	.type	.L.str.19,@object               # @.str.19
.L.str.19:
	.asciz	" - Warp size in threads: "
	.size	.L.str.19, 26

	.type	.L.str.20,@object               # @.str.20
.L.str.20:
	.asciz	" - Maximum pitch in bytes allowed by memory copies: "
	.size	.L.str.20, 53

	.type	.L.str.21,@object               # @.str.21
.L.str.21:
	.asciz	" - Maximum number of threads per block: "
	.size	.L.str.21, 41

	.type	.L.str.22,@object               # @.str.22
.L.str.22:
	.asciz	" - Maximum dimension "
	.size	.L.str.22, 22

	.type	.L.str.23,@object               # @.str.23
.L.str.23:
	.asciz	" of the grid: "
	.size	.L.str.23, 15

	.type	.L.str.24,@object               # @.str.24
.L.str.24:
	.asciz	" of the block: "
	.size	.L.str.24, 16

	.type	.L.str.25,@object               # @.str.25
.L.str.25:
	.asciz	" - Clock frequency in kilohertz: "
	.size	.L.str.25, 34

	.type	.L.str.26,@object               # @.str.26
.L.str.26:
	.asciz	" - Constant memory available on device in bytes: "
	.size	.L.str.26, 50

	.type	.L.str.27,@object               # @.str.27
.L.str.27:
	.asciz	" - Number of asynchronous engines: "
	.size	.L.str.27, 36

	.type	.L.str.28,@object               # @.str.28
.L.str.28:
	.asciz	" - Specified whether there is a run time limit on kernels: "
	.size	.L.str.28, 60

	.type	.L.str.29,@object               # @.str.29
.L.str.29:
	.asciz	" - Alignment requirement for textures: "
	.size	.L.str.29, 40

	.type	.L.str.30,@object               # @.str.30
.L.str.30:
	.asciz	"##################################################\n"
	.size	.L.str.30, 52

	.type	.L.str.31,@object               # @.str.31
.L.str.31:
	.asciz	"\t  > CUDA Device Specifications <\n"
	.size	.L.str.31, 35

	.type	.L.str.32,@object               # @.str.32
.L.str.32:
	.asciz	"\t     (Total CUDA devices: "
	.size	.L.str.32, 28

	.type	.L.str.33,@object               # @.str.33
.L.str.33:
	.asciz	")\n"
	.size	.L.str.33, 3

	.type	.L.str.34,@object               # @.str.34
.L.str.34:
	.asciz	"+ CUDA device: "
	.size	.L.str.34, 16

	.type	.L.str.35,@object               # @.str.35
.L.str.35:
	.asciz	"##################################################\n\n"
	.size	.L.str.35, 53

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

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

	.type	.Lswitch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600,@object # @switch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600
	.section	.rodata,"a",@progbits
	.p2align	3, 0x0
.Lswitch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600:
	.quad	.L.str.1
	.quad	.L.str.2
	.quad	.L.str.7
	.quad	.L.str.3
	.quad	.L.str.4
	.quad	.L.str.5
	.quad	.L.str.6
	.size	.Lswitch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600, 56

	.type	.Lswitch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600.1,@object # @switch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600.1
	.p2align	3, 0x0
.Lswitch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600.1:
	.quad	5                               # 0x5
	.quad	6                               # 0x6
	.quad	19                              # 0x13
	.quad	7                               # 0x7
	.quad	6                               # 0x6
	.quad	15                              # 0xf
	.quad	6                               # 0x6
	.size	.Lswitch.table._Z21getDeviceArchitectureB5cxx1120hipDeviceProp_tR0600.1, 56

	.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
