#include "Matrix.cuh"

class HostMatrixDeleter {
public:
    void operator()(float* ptr) const {
        if (ptr) {
            cudaFreeHost(ptr);
        }
    }
};

HostMatrix::HostMatrix(unsigned int height, unsigned int width): Matrix(height, width, false) {
    float* rawElements = 0;
    cudaMallocHost(&rawElements, height * width * sizeof(float));
    elements = std::shared_ptr<float>(rawElements, HostMatrixDeleter());
}


float HostMatrix::getElement(unsigned int i, unsigned int j) const {
    if (i >= height || j >= width) {
        throw std::invalid_argument("Invalid argument.");
    } else {
        return (elements.get())[i * width + j];
    }
}

void HostMatrix::setElement(unsigned int i, unsigned int j, float value) {
    if (i >= height || j >= width) {
        throw std::invalid_argument("Invalid argument.");
    } else {
        (elements.get())[i * width + j] = value;
    }
}

class DeviceMatrixDeleter {
public:
    void operator()(float* ptr) const {
        if (ptr) {
            cudaFree(ptr);
        }
    }
};

DeviceMatrix::DeviceMatrix(unsigned int height, unsigned int width): Matrix(height, width, true) {
    float* rawElements = 0;
    cudaMalloc(&rawElements, height * width * sizeof(float));
    elements = std::shared_ptr<float>(rawElements, DeviceMatrixDeleter());
}

float DeviceMatrix::getElement(unsigned int i, unsigned int j) const {
    if (i >= height || j >= width) {
        throw std::invalid_argument("Invalid argument.");
    } else {
        float value = 0.0f;
        cudaMemcpy(&value, elements.get() + i * width + j, sizeof(float), cudaMemcpyDeviceToHost);
        return value;
    }
}

void DeviceMatrix::setElement(unsigned int i, unsigned int j, float value) {
    if (i >= height || j >= width) {
        throw std::invalid_argument("Invalid argument.");
    } else {
        cudaMemcpy(elements.get() + i * width + j, &value, sizeof(float), cudaMemcpyHostToDevice);
    }
}
	.file	"tmpxft_002f0734_00000000-6_Matrix.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED5Ev,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev
	.type	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev, @function
_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev:
.LFB5503:
	.cfi_startproc
	endbr64
	ret
	.cfi_endproc
.LFE5503:
	.size	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev, .-_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED1Ev
	.set	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED1Ev,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED5Ev,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev
	.type	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev, @function
_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev:
.LFB5510:
	.cfi_startproc
	endbr64
	ret
	.cfi_endproc
.LFE5510:
	.size	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev, .-_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED1Ev
	.set	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED1Ev,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED5Ev,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.type	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev, @function
_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev:
.LFB5512:
	.cfi_startproc
	endbr64
	movl	$24, %esi
	jmp	_ZdlPvm@PLT
	.cfi_endproc
.LFE5512:
	.size	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev, .-_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED5Ev,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.type	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev, @function
_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev:
.LFB5505:
	.cfi_startproc
	endbr64
	movl	$24, %esi
	jmp	_ZdlPvm@PLT
	.cfi_endproc
.LFE5505:
	.size	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev, .-_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid argument."
	.text
	.align 2
	.globl	_ZNK10HostMatrix10getElementEjj
	.type	_ZNK10HostMatrix10getElementEjj, @function
_ZNK10HostMatrix10getElementEjj:
.LFB4676:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4676
	endbr64
	cmpl	8(%rdi), %esi
	jnb	.L6
	movl	12(%rdi), %eax
	cmpl	%eax, %edx
	jb	.L7
.L6:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$16, %edi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	pushq	%rax
	.cfi_def_cfa_offset 32
	call	__cxa_allocate_exception@PLT
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, %rbx
.LEHB0:
	call	_ZNSt16invalid_argumentC1EPKc@PLT
.LEHE0:
	movq	_ZNSt16invalid_argumentD1Ev@GOTPCREL(%rip), %rdx
	leaq	_ZTISt16invalid_argument(%rip), %rsi
	movq	%rbx, %rdi
.LEHB1:
	call	__cxa_throw@PLT
.L9:
	endbr64
	movq	%rax, %rbp
.L8:
	movq	%rbx, %rdi
	call	__cxa_free_exception@PLT
	movq	%rbp, %rdi
	call	_Unwind_Resume@PLT
.LEHE1:
.L7:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	imull	%esi, %eax
	addl	%eax, %edx
	movq	24(%rdi), %rax
	movl	%edx, %edx
	movss	(%rax,%rdx,4), %xmm0
	ret
	.cfi_endproc
.LFE4676:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA4676:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4676-.LLSDACSB4676
.LLSDACSB4676:
	.uleb128 .LEHB0-.LFB4676
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L9-.LFB4676
	.uleb128 0
	.uleb128 .LEHB1-.LFB4676
	.uleb128 .LEHE1-.LEHB1
	.uleb128 0
	.uleb128 0
.LLSDACSE4676:
	.text
	.size	_ZNK10HostMatrix10getElementEjj, .-_ZNK10HostMatrix10getElementEjj
	.align 2
	.globl	_ZN10HostMatrix10setElementEjjf
	.type	_ZN10HostMatrix10setElementEjjf, @function
_ZN10HostMatrix10setElementEjjf:
.LFB4677:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4677
	endbr64
	cmpl	8(%rdi), %esi
	jnb	.L15
	movl	12(%rdi), %eax
	cmpl	%eax, %edx
	jb	.L16
.L15:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$16, %edi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	pushq	%rax
	.cfi_def_cfa_offset 32
	call	__cxa_allocate_exception@PLT
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, %rbx
.LEHB2:
	call	_ZNSt16invalid_argumentC1EPKc@PLT
.LEHE2:
	movq	_ZNSt16invalid_argumentD1Ev@GOTPCREL(%rip), %rdx
	leaq	_ZTISt16invalid_argument(%rip), %rsi
	movq	%rbx, %rdi
.LEHB3:
	call	__cxa_throw@PLT
.L16:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	imull	%esi, %eax
	addl	%eax, %edx
	movq	24(%rdi), %rax
	movl	%edx, %edx
	movss	%xmm0, (%rax,%rdx,4)
	ret
.L18:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -24
	.cfi_offset 6, -16
	endbr64
	movq	%rax, %rbp
.L17:
	movq	%rbx, %rdi
	call	__cxa_free_exception@PLT
	movq	%rbp, %rdi
	call	_Unwind_Resume@PLT
.LEHE3:
	.cfi_endproc
.LFE4677:
	.section	.gcc_except_table
.LLSDA4677:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4677-.LLSDACSB4677
.LLSDACSB4677:
	.uleb128 .LEHB2-.LFB4677
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L18-.LFB4677
	.uleb128 0
	.uleb128 .LEHB3-.LFB4677
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
.LLSDACSE4677:
	.text
	.size	_ZN10HostMatrix10setElementEjjf, .-_ZN10HostMatrix10setElementEjjf
	.align 2
	.globl	_ZNK12DeviceMatrix10getElementEjj
	.type	_ZNK12DeviceMatrix10getElementEjj, @function
_ZNK12DeviceMatrix10getElementEjj:
.LFB4682:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4682
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	cmpl	8(%rdi), %esi
	jnb	.L23
	movl	12(%rdi), %eax
	cmpl	%eax, %edx
	jb	.L24
.L23:
	movl	$16, %edi
	call	__cxa_allocate_exception@PLT
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, %rbx
.LEHB4:
	call	_ZNSt16invalid_argumentC1EPKc@PLT
.LEHE4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	movq	_ZNSt16invalid_argumentD1Ev@GOTPCREL(%rip), %rdx
	leaq	_ZTISt16invalid_argument(%rip), %rsi
	movq	%rbx, %rdi
.LEHB5:
	call	__cxa_throw@PLT
.L24:
	imull	%esi, %eax
	movl	%edx, %edx
	movl	$2, %ecx
	movl	$0x00000000, 4(%rsp)
	addq	%rdx, %rax
	movq	24(%rdi), %rdx
	leaq	4(%rsp), %rdi
	leaq	(%rdx,%rax,4), %rsi
	movl	$4, %edx
	call	cudaMemcpy@PLT
	movss	4(%rsp), %xmm0
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	je	.L28
	jmp	.L30
.L29:
	endbr64
	movq	%rax, %rbp
.L26:
	movq	%rbx, %rdi
	call	__cxa_free_exception@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	movq	%rbp, %rdi
	call	_Unwind_Resume@PLT
.LEHE5:
.L30:
	call	__stack_chk_fail@PLT
.L28:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4682:
	.section	.gcc_except_table
.LLSDA4682:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4682-.LLSDACSB4682
.LLSDACSB4682:
	.uleb128 .LEHB4-.LFB4682
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L29-.LFB4682
	.uleb128 0
	.uleb128 .LEHB5-.LFB4682
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
.LLSDACSE4682:
	.text
	.size	_ZNK12DeviceMatrix10getElementEjj, .-_ZNK12DeviceMatrix10getElementEjj
	.align 2
	.globl	_ZN12DeviceMatrix10setElementEjjf
	.type	_ZN12DeviceMatrix10setElementEjjf, @function
_ZN12DeviceMatrix10setElementEjjf:
.LFB4683:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4683
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movss	%xmm0, 12(%rsp)
	cmpl	8(%rdi), %esi
	jnb	.L34
	movl	12(%rdi), %eax
	cmpl	%eax, %edx
	jb	.L35
.L34:
	movl	$16, %edi
	call	__cxa_allocate_exception@PLT
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, %rbx
.LEHB6:
	call	_ZNSt16invalid_argumentC1EPKc@PLT
.LEHE6:
	movq	_ZNSt16invalid_argumentD1Ev@GOTPCREL(%rip), %rdx
	leaq	_ZTISt16invalid_argument(%rip), %rsi
	movq	%rbx, %rdi
.LEHB7:
	call	__cxa_throw@PLT
.L35:
	imull	%esi, %eax
	movl	%edx, %edx
	leaq	12(%rsp), %r8
	movl	$1, %ecx
	movq	%r8, %rsi
	addq	%rdx, %rax
	movq	24(%rdi), %rdx
	leaq	(%rdx,%rax,4), %rdi
	movl	$4, %edx
	call	cudaMemcpy@PLT
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L37:
	.cfi_restore_state
	endbr64
	movq	%rax, %rbp
.L36:
	movq	%rbx, %rdi
	call	__cxa_free_exception@PLT
	movq	%rbp, %rdi
	call	_Unwind_Resume@PLT
.LEHE7:
	.cfi_endproc
.LFE4683:
	.section	.gcc_except_table
.LLSDA4683:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4683-.LLSDACSB4683
.LLSDACSB4683:
	.uleb128 .LEHB6-.LFB4683
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L37-.LFB4683
	.uleb128 0
	.uleb128 .LEHB7-.LFB4683
	.uleb128 .LEHE7-.LEHB7
	.uleb128 0
	.uleb128 0
.LLSDACSE4683:
	.text
	.size	_ZN12DeviceMatrix10setElementEjjf, .-_ZN12DeviceMatrix10setElementEjjf
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4686:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4686:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.type	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv, @function
_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:
.LFB5507:
	.cfi_startproc
	endbr64
	movl	$24, %esi
	jmp	_ZdlPvm@PLT
	.cfi_endproc
.LFE5507:
	.size	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv, .-_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.type	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv, @function
_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:
.LFB5514:
	.cfi_startproc
	endbr64
	movl	$24, %esi
	jmp	_ZdlPvm@PLT
	.cfi_endproc
.LFE5514:
	.size	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv, .-_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.text
	.align 2
	.type	_ZNKSt9type_infoeqERKS_.isra.0, @function
_ZNKSt9type_infoeqERKS_.isra.0:
.LFB5531:
	.cfi_startproc
	movb	$1, %al
	cmpq	%rsi, %rdi
	je	.L49
	xorl	%eax, %eax
	cmpb	$42, (%rdi)
	je	.L49
	pushq	%rcx
	.cfi_def_cfa_offset 16
	cmpb	$42, (%rsi)
	jne	.L45
	incq	%rsi
.L45:
	call	strcmp@PLT
	popq	%rdx
	.cfi_def_cfa_offset 8
	testl	%eax, %eax
	sete	%al
	ret
.L49:
	ret
	.cfi_endproc
.LFE5531:
	.size	_ZNKSt9type_infoeqERKS_.isra.0, .-_ZNKSt9type_infoeqERKS_.isra.0
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.type	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info, @function
_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info:
.LFB5515:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	movq	8(%rsi), %rdi
	leaq	_ZTS17HostMatrixDeleter(%rip), %rsi
	call	_ZNKSt9type_infoeqERKS_.isra.0
	movl	%eax, %edx
	leaq	16(%rbx), %rax
	testb	%dl, %dl
	jne	.L52
	xorl	%eax, %eax
.L52:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5515:
	.size	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info, .-_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.type	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info, @function
_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info:
.LFB5508:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	movq	8(%rsi), %rdi
	leaq	_ZTS19DeviceMatrixDeleter(%rip), %rsi
	call	_ZNKSt9type_infoeqERKS_.isra.0
	movl	%eax, %edx
	leaq	16(%rbx), %rax
	testb	%dl, %dl
	jne	.L57
	xorl	%eax, %eax
.L57:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5508:
	.size	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info, .-_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.type	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv, @function
_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:
.LFB5506:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA5506
	endbr64
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	.L68
	pushq	%rax
	.cfi_def_cfa_offset 16
	call	cudaFree@PLT
	popq	%rdx
	.cfi_def_cfa_offset 8
	ret
.L68:
	ret
	.cfi_endproc
.LFE5506:
	.section	.gcc_except_table
.LLSDA5506:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE5506-.LLSDACSB5506
.LLSDACSB5506:
.LLSDACSE5506:
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,comdat
	.size	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv, .-_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,comdat
	.align 2
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.type	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv, @function
_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:
.LFB5513:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA5513
	endbr64
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	.L77
	pushq	%rax
	.cfi_def_cfa_offset 16
	call	cudaFreeHost@PLT
	popq	%rdx
	.cfi_def_cfa_offset 8
	ret
.L77:
	ret
	.cfi_endproc
.LFE5513:
	.section	.gcc_except_table
.LLSDA5513:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE5513-.LLSDACSB5513
.LLSDACSB5513:
.LLSDACSE5513:
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,comdat
	.size	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv, .-_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4709:
	.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
.LFE4709:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv,"axG",@progbits,_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv,comdat
	.align 2
	.weak	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv
	.type	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv, @function
_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv:
.LFB5029:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	(%rdi), %rax
	movq	%rdi, 8(%rsp)
	call	*16(%rax)
	cmpb	$0, __libc_single_threaded(%rip)
	movq	8(%rsp), %rdi
	je	.L83
	movl	12(%rdi), %eax
	leal	-1(%rax), %edx
	movl	%edx, 12(%rdi)
	jmp	.L84
.L83:
	orl	$-1, %eax
	lock xaddl	%eax, 12(%rdi)
.L84:
	decl	%eax
	jne	.L82
	movq	(%rdi), %rax
	movq	24(%rax), %rax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L82:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5029:
	.size	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv, .-_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv
	.section	.text._ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev,"axG",@progbits,_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED5Ev,comdat
	.align 2
	.weak	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.type	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev, @function
_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev:
.LFB5035:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	.L87
	movq	8(%rdi), %rcx
	leaq	8(%rdi), %rdx
	movabsq	$4294967297, %rax
	cmpq	%rax, %rcx
	jne	.L90
	xorl	%eax, %eax
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rax, 8(%rdi)
	movq	(%rdi), %rax
	movq	%rdi, 8(%rsp)
	call	*16(%rax)
	movq	8(%rsp), %rdi
	movq	(%rdi), %rax
	movq	24(%rax), %rax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L90:
	cmpb	$0, __libc_single_threaded(%rip)
	je	.L91
	movl	8(%rdi), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rdi)
	jmp	.L92
.L91:
	orl	$-1, %eax
	lock xaddl	%eax, (%rdx)
.L92:
	decl	%eax
	jne	.L87
	jmp	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv
.L87:
	ret
	.cfi_endproc
.LFE5035:
	.size	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev, .-_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.weak	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
	.set	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev,_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.text
	.align 2
	.type	_ZNSt12__shared_ptrIfLN9__gnu_cxx12_Lock_policyE2EEaSEOS2_.isra.0, @function
_ZNSt12__shared_ptrIfLN9__gnu_cxx12_Lock_policyE2EEaSEOS2_.isra.0:
.LFB5535:
	.cfi_startproc
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	8(%rsi), %rdx
	xorl	%ecx, %ecx
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	movq	(%rsi), %rax
	movq	%rcx, 8(%rsi)
	movq	%rcx, (%rsi)
	movq	(%rdi), %rcx
	movq	%rcx, 8(%rsp)
	movq	%rax, (%rdi)
	movq	8(%rdi), %rax
	movq	%rdx, 8(%rdi)
	leaq	16(%rsp), %rdi
	movq	%rax, 16(%rsp)
	call	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	je	.L98
	call	__stack_chk_fail@PLT
.L98:
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5535:
	.size	_ZNSt12__shared_ptrIfLN9__gnu_cxx12_Lock_policyE2EEaSEOS2_.isra.0, .-_ZNSt12__shared_ptrIfLN9__gnu_cxx12_Lock_policyE2EEaSEOS2_.isra.0
	.align 2
	.globl	_ZN10HostMatrixC2Ejj
	.type	_ZN10HostMatrixC2Ejj, @function
_ZN10HostMatrixC2Ejj:
.LFB4674:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4674
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%ecx, %ecx
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movl	%esi, 8(%rdi)
	imull	%edx, %esi
	leaq	16+_ZTV10HostMatrix(%rip), %rax
	movl	%edx, 12(%rdi)
	xorl	%edx, %edx
	movb	$0, 16(%rdi)
	movq	%rcx, 24(%rdi)
	salq	$2, %rsi
	movq	%rcx, 32(%rdi)
	movq	%rax, (%rdi)
	xorl	%edi, %edi
	movq	%rdi, (%rsp)
	movq	%rsp, %rdi
.LEHB8:
	call	cudaHostAlloc@PLT
.LEHE8:
	movq	(%rsp), %rbp
	xorl	%eax, %eax
	movl	$24, %edi
	movq	%rax, 16(%rsp)
	movq	%rbp, 8(%rsp)
.LEHB9:
	call	_Znwm@PLT
.LEHE9:
	movq	%rbp, 16(%rax)
	leaq	24(%rbx), %rdi
	leaq	8(%rsp), %rsi
	movabsq	$4294967297, %rcx
	movq	%rcx, 8(%rax)
	leaq	16+_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE(%rip), %rcx
	movq	%rcx, (%rax)
	movq	%rax, 16(%rsp)
	call	_ZNSt12__shared_ptrIfLN9__gnu_cxx12_Lock_policyE2EEaSEOS2_.isra.0
	leaq	16(%rsp), %rdi
	call	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	je	.L108
	jmp	.L112
.L111:
	endbr64
	movq	%rax, %rdi
.L101:
	call	__cxa_begin_catch@PLT
	testq	%rbp, %rbp
	jne	.L102
.L104:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L112
.LEHB10:
	call	__cxa_rethrow@PLT
.L102:
	movq	%rbp, %rdi
	call	cudaFreeHost@PLT
.LEHE10:
	jmp	.L104
.L110:
	endbr64
	movq	%rax, %rbp
.L105:
	call	__cxa_end_catch@PLT
	jmp	.L106
.L109:
	endbr64
	movq	%rax, %rbp
.L106:
	leaq	16+_ZTV6Matrix(%rip), %rax
	leaq	32(%rbx), %rdi
	movq	%rax, (%rbx)
	call	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L112
	movq	%rbp, %rdi
.LEHB11:
	call	_Unwind_Resume@PLT
.LEHE11:
.L112:
	call	__stack_chk_fail@PLT
.L108:
	addq	$40, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4674:
	.section	.gcc_except_table
	.align 4
.LLSDA4674:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT4674-.LLSDATTD4674
.LLSDATTD4674:
	.byte	0x1
	.uleb128 .LLSDACSE4674-.LLSDACSB4674
.LLSDACSB4674:
	.uleb128 .LEHB8-.LFB4674
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L109-.LFB4674
	.uleb128 0
	.uleb128 .LEHB9-.LFB4674
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L111-.LFB4674
	.uleb128 0x1
	.uleb128 .LEHB10-.LFB4674
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L110-.LFB4674
	.uleb128 0
	.uleb128 .LEHB11-.LFB4674
	.uleb128 .LEHE11-.LEHB11
	.uleb128 0
	.uleb128 0
.LLSDACSE4674:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT4674:
	.text
	.size	_ZN10HostMatrixC2Ejj, .-_ZN10HostMatrixC2Ejj
	.globl	_ZN10HostMatrixC1Ejj
	.set	_ZN10HostMatrixC1Ejj,_ZN10HostMatrixC2Ejj
	.align 2
	.globl	_ZN12DeviceMatrixC2Ejj
	.type	_ZN12DeviceMatrixC2Ejj, @function
_ZN12DeviceMatrixC2Ejj:
.LFB4680:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4680
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%ecx, %ecx
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movl	%esi, 8(%rdi)
	imull	%edx, %esi
	leaq	16+_ZTV12DeviceMatrix(%rip), %rax
	movl	%edx, 12(%rdi)
	movb	$1, 16(%rdi)
	movq	%rcx, 24(%rdi)
	salq	$2, %rsi
	movq	%rcx, 32(%rdi)
	movq	%rax, (%rdi)
	xorl	%edi, %edi
	movq	%rdi, (%rsp)
	movq	%rsp, %rdi
.LEHB12:
	call	cudaMalloc@PLT
.LEHE12:
	movq	(%rsp), %rbp
	xorl	%eax, %eax
	movl	$24, %edi
	movq	%rax, 16(%rsp)
	movq	%rbp, 8(%rsp)
.LEHB13:
	call	_Znwm@PLT
.LEHE13:
	movq	%rbp, 16(%rax)
	leaq	24(%rbx), %rdi
	leaq	8(%rsp), %rsi
	movabsq	$4294967297, %rcx
	movq	%rcx, 8(%rax)
	leaq	16+_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE(%rip), %rcx
	movq	%rcx, (%rax)
	movq	%rax, 16(%rsp)
	call	_ZNSt12__shared_ptrIfLN9__gnu_cxx12_Lock_policyE2EEaSEOS2_.isra.0
	leaq	16(%rsp), %rdi
	call	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	je	.L123
	jmp	.L127
.L126:
	endbr64
	movq	%rax, %rdi
.L116:
	call	__cxa_begin_catch@PLT
	testq	%rbp, %rbp
	jne	.L117
.L119:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L127
.LEHB14:
	call	__cxa_rethrow@PLT
.L117:
	movq	%rbp, %rdi
	call	cudaFree@PLT
.LEHE14:
	jmp	.L119
.L125:
	endbr64
	movq	%rax, %rbp
.L120:
	call	__cxa_end_catch@PLT
	jmp	.L121
.L124:
	endbr64
	movq	%rax, %rbp
.L121:
	leaq	16+_ZTV6Matrix(%rip), %rax
	leaq	32(%rbx), %rdi
	movq	%rax, (%rbx)
	call	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L127
	movq	%rbp, %rdi
.LEHB15:
	call	_Unwind_Resume@PLT
.LEHE15:
.L127:
	call	__stack_chk_fail@PLT
.L123:
	addq	$40, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4680:
	.section	.gcc_except_table
	.align 4
.LLSDA4680:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT4680-.LLSDATTD4680
.LLSDATTD4680:
	.byte	0x1
	.uleb128 .LLSDACSE4680-.LLSDACSB4680
.LLSDACSB4680:
	.uleb128 .LEHB12-.LFB4680
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L124-.LFB4680
	.uleb128 0
	.uleb128 .LEHB13-.LFB4680
	.uleb128 .LEHE13-.LEHB13
	.uleb128 .L126-.LFB4680
	.uleb128 0x1
	.uleb128 .LEHB14-.LFB4680
	.uleb128 .LEHE14-.LEHB14
	.uleb128 .L125-.LFB4680
	.uleb128 0
	.uleb128 .LEHB15-.LFB4680
	.uleb128 .LEHE15-.LEHB15
	.uleb128 0
	.uleb128 0
.LLSDACSE4680:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT4680:
	.text
	.size	_ZN12DeviceMatrixC2Ejj, .-_ZN12DeviceMatrixC2Ejj
	.globl	_ZN12DeviceMatrixC1Ejj
	.set	_ZN12DeviceMatrixC1Ejj,_ZN12DeviceMatrixC2Ejj
	.weak	_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 32
	.type	_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE, 47
_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE:
	.string	"St11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE"
	.weak	_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.section	.data.rel.ro._ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,"awG",@progbits,_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 8
	.type	_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE, 16
_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE:
	.quad	_ZTVN10__cxxabiv117__class_type_infoE+16
	.quad	_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.weak	_ZTS19DeviceMatrixDeleter
	.section	.rodata._ZTS19DeviceMatrixDeleter,"aG",@progbits,_ZTS19DeviceMatrixDeleter,comdat
	.align 16
	.type	_ZTS19DeviceMatrixDeleter, @object
	.size	_ZTS19DeviceMatrixDeleter, 22
_ZTS19DeviceMatrixDeleter:
	.string	"19DeviceMatrixDeleter"
	.weak	_ZTS17HostMatrixDeleter
	.section	.rodata._ZTS17HostMatrixDeleter,"aG",@progbits,_ZTS17HostMatrixDeleter,comdat
	.align 16
	.type	_ZTS17HostMatrixDeleter, @object
	.size	_ZTS17HostMatrixDeleter, 20
_ZTS17HostMatrixDeleter:
	.string	"17HostMatrixDeleter"
	.weak	_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 32
	.type	_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE, 52
_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE:
	.string	"St16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE"
	.weak	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.section	.data.rel.ro._ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,"awG",@progbits,_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 8
	.type	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE, 24
_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.weak	_ZTS6Matrix
	.section	.rodata._ZTS6Matrix,"aG",@progbits,_ZTS6Matrix,comdat
	.align 8
	.type	_ZTS6Matrix, @object
	.size	_ZTS6Matrix, 8
_ZTS6Matrix:
	.string	"6Matrix"
	.weak	_ZTI6Matrix
	.section	.data.rel.ro._ZTI6Matrix,"awG",@progbits,_ZTI6Matrix,comdat
	.align 8
	.type	_ZTI6Matrix, @object
	.size	_ZTI6Matrix, 16
_ZTI6Matrix:
	.quad	_ZTVN10__cxxabiv117__class_type_infoE+16
	.quad	_ZTS6Matrix
	.weak	_ZTS10HostMatrix
	.section	.rodata._ZTS10HostMatrix,"aG",@progbits,_ZTS10HostMatrix,comdat
	.align 8
	.type	_ZTS10HostMatrix, @object
	.size	_ZTS10HostMatrix, 13
_ZTS10HostMatrix:
	.string	"10HostMatrix"
	.weak	_ZTI10HostMatrix
	.section	.data.rel.ro._ZTI10HostMatrix,"awG",@progbits,_ZTI10HostMatrix,comdat
	.align 8
	.type	_ZTI10HostMatrix, @object
	.size	_ZTI10HostMatrix, 24
_ZTI10HostMatrix:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTS10HostMatrix
	.quad	_ZTI6Matrix
	.weak	_ZTS12DeviceMatrix
	.section	.rodata._ZTS12DeviceMatrix,"aG",@progbits,_ZTS12DeviceMatrix,comdat
	.align 8
	.type	_ZTS12DeviceMatrix, @object
	.size	_ZTS12DeviceMatrix, 15
_ZTS12DeviceMatrix:
	.string	"12DeviceMatrix"
	.weak	_ZTI12DeviceMatrix
	.section	.data.rel.ro._ZTI12DeviceMatrix,"awG",@progbits,_ZTI12DeviceMatrix,comdat
	.align 8
	.type	_ZTI12DeviceMatrix, @object
	.size	_ZTI12DeviceMatrix, 24
_ZTI12DeviceMatrix:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTS12DeviceMatrix
	.quad	_ZTI6Matrix
	.weak	_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 32
	.type	_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 81
_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.string	"St19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE"
	.weak	_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.data.rel.ro._ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"awG",@progbits,_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 8
	.type	_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 24
_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.weak	_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 32
	.type	_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 83
_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.string	"St19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE"
	.weak	_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.data.rel.ro._ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"awG",@progbits,_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 8
	.type	_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 24
_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.weak	_ZTV6Matrix
	.section	.data.rel.ro._ZTV6Matrix,"awG",@progbits,_ZTV6Matrix,comdat
	.align 8
	.type	_ZTV6Matrix, @object
	.size	_ZTV6Matrix, 32
_ZTV6Matrix:
	.quad	0
	.quad	_ZTI6Matrix
	.quad	__cxa_pure_virtual
	.quad	__cxa_pure_virtual
	.weak	_ZTV10HostMatrix
	.section	.data.rel.ro.local._ZTV10HostMatrix,"awG",@progbits,_ZTV10HostMatrix,comdat
	.align 8
	.type	_ZTV10HostMatrix, @object
	.size	_ZTV10HostMatrix, 32
_ZTV10HostMatrix:
	.quad	0
	.quad	_ZTI10HostMatrix
	.quad	_ZNK10HostMatrix10getElementEjj
	.quad	_ZN10HostMatrix10setElementEjjf
	.weak	_ZTV12DeviceMatrix
	.section	.data.rel.ro.local._ZTV12DeviceMatrix,"awG",@progbits,_ZTV12DeviceMatrix,comdat
	.align 8
	.type	_ZTV12DeviceMatrix, @object
	.size	_ZTV12DeviceMatrix, 32
_ZTV12DeviceMatrix:
	.quad	0
	.quad	_ZTI12DeviceMatrix
	.quad	_ZNK12DeviceMatrix10getElementEjj
	.quad	_ZN12DeviceMatrix10setElementEjjf
	.weak	_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.data.rel.ro.local._ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"awG",@progbits,_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 8
	.type	_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 56
_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.quad	0
	.quad	_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED1Ev
	.quad	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.quad	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.quad	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.quad	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.weak	_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.data.rel.ro.local._ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"awG",@progbits,_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.align 8
	.type	_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, @object
	.size	_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 56
_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.quad	0
	.quad	_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED1Ev
	.quad	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.quad	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.quad	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.quad	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.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
	.weak	__cxa_pure_virtual
	.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 "Matrix.cuh"

class HostMatrixDeleter {
public:
    void operator()(float* ptr) const {
        if (ptr) {
            hipHostFree(ptr);
        }
    }
};

HostMatrix::HostMatrix(unsigned int height, unsigned int width): Matrix(height, width, false) {
    float* rawElements = 0;
    hipHostMalloc(&rawElements, height * width * sizeof(float), hipHostMallocDefault);
    elements = std::shared_ptr<float>(rawElements, HostMatrixDeleter());
}


float HostMatrix::getElement(unsigned int i, unsigned int j) const {
    if (i >= height || j >= width) {
        throw std::invalid_argument("Invalid argument.");
    } else {
        return (elements.get())[i * width + j];
    }
}

void HostMatrix::setElement(unsigned int i, unsigned int j, float value) {
    if (i >= height || j >= width) {
        throw std::invalid_argument("Invalid argument.");
    } else {
        (elements.get())[i * width + j] = value;
    }
}

class DeviceMatrixDeleter {
public:
    void operator()(float* ptr) const {
        if (ptr) {
            hipFree(ptr);
        }
    }
};

DeviceMatrix::DeviceMatrix(unsigned int height, unsigned int width): Matrix(height, width, true) {
    float* rawElements = 0;
    hipMalloc(&rawElements, height * width * sizeof(float));
    elements = std::shared_ptr<float>(rawElements, DeviceMatrixDeleter());
}

float DeviceMatrix::getElement(unsigned int i, unsigned int j) const {
    if (i >= height || j >= width) {
        throw std::invalid_argument("Invalid argument.");
    } else {
        float value = 0.0f;
        hipMemcpy(&value, elements.get() + i * width + j, sizeof(float), hipMemcpyDeviceToHost);
        return value;
    }
}

void DeviceMatrix::setElement(unsigned int i, unsigned int j, float value) {
    if (i >= height || j >= width) {
        throw std::invalid_argument("Invalid argument.");
    } else {
        hipMemcpy(elements.get() + i * width + j, &value, sizeof(float), hipMemcpyHostToDevice);
    }
}
	.text
	.file	"Matrix.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.globl	_ZN10HostMatrixC2Ejj            # -- Begin function _ZN10HostMatrixC2Ejj
	.p2align	1, 0x90
	.type	_ZN10HostMatrixC2Ejj,@function
_ZN10HostMatrixC2Ejj:                   # @_ZN10HostMatrixC2Ejj
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	subq	$56, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
                                        # kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	movl	%esi, 8(%rdi)
	movl	%edx, 12(%rdi)
	movb	$0, 16(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rdi)
	movq	$_ZTV10HostMatrix+16, (%rdi)
	leaq	8(%rsp), %rdi
	movq	$0, (%rdi)
	imull	%edx, %esi
	shlq	$2, %rsi
.Ltmp0:
	xorl	%edx, %edx
	callq	hipHostMalloc
.Ltmp1:
# %bb.1:                                # %_ZL13hipHostMallocIfE10hipError_tPPT_mj.exit
	movq	8(%rsp), %rsi
	leaq	24(%rsp), %r14
	movq	%rsi, -8(%r14)
.Ltmp3:
	movq	%r14, %rdi
	callq	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_
.Ltmp4:
# %bb.2:                                # %_ZNSt10shared_ptrIfEC2If17HostMatrixDeletervEEPT_T0_.exit
	movaps	16(%rsp), %xmm0
	leaq	48(%rsp), %rdi
	xorps	%xmm1, %xmm1
	movaps	%xmm1, 16(%rsp)
	movq	24(%rbx), %rax
	movq	%rax, -8(%rdi)
	movq	32(%rbx), %rax
	movups	%xmm0, 24(%rbx)
	movq	%rax, (%rdi)
	callq	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	movq	%r14, %rdi
	callq	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	addq	$56, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB0_4:
	.cfi_def_cfa_offset 80
.Ltmp5:
	jmp	.LBB0_5
.LBB0_3:
.Ltmp2:
.LBB0_5:
	movq	%rax, %r14
	movq	$_ZTV6Matrix+16, (%rbx)
	addq	$32, %rbx
	movq	%rbx, %rdi
	callq	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	_ZN10HostMatrixC2Ejj, .Lfunc_end0-_ZN10HostMatrixC2Ejj
	.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 .Ltmp0-.Lfunc_begin0           # >> Call Site 1 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin0           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp4-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Lfunc_end0-.Ltmp4             #   Call between .Ltmp4 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_ZNK10HostMatrix10getElementEjj # -- Begin function _ZNK10HostMatrix10getElementEjj
	.p2align	1, 0x90
	.type	_ZNK10HostMatrix10getElementEjj,@function
_ZNK10HostMatrix10getElementEjj:        # @_ZNK10HostMatrix10getElementEjj
.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
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	cmpl	%esi, 8(%rdi)
	jbe	.LBB1_2
# %bb.1:
	movl	12(%rdi), %eax
	cmpl	%edx, %eax
	jbe	.LBB1_2
# %bb.5:
	movq	24(%rdi), %rcx
	imull	%esi, %eax
	addl	%edx, %eax
	movss	(%rcx,%rax,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB1_2:
	.cfi_def_cfa_offset 32
	movl	$16, %edi
	callq	__cxa_allocate_exception
	movq	%rax, %rbx
.Ltmp6:
	movl	$.L.str, %esi
	movq	%rax, %rdi
	callq	_ZNSt16invalid_argumentC1EPKc
.Ltmp7:
# %bb.3:
	movl	$_ZTISt16invalid_argument, %esi
	movl	$_ZNSt16invalid_argumentD1Ev, %edx
	movq	%rbx, %rdi
	callq	__cxa_throw
.LBB1_4:
.Ltmp8:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	__cxa_free_exception
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end1:
	.size	_ZNK10HostMatrix10getElementEjj, .Lfunc_end1-_ZNK10HostMatrix10getElementEjj
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table1:
.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 .Ltmp6-.Lfunc_begin1           #   Call between .Lfunc_begin1 and .Ltmp6
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin1           # >> Call Site 2 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp8-.Lfunc_begin1           #     jumps to .Ltmp8
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp7-.Lfunc_begin1           # >> Call Site 3 <<
	.uleb128 .Lfunc_end1-.Ltmp7             #   Call between .Ltmp7 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_ZN10HostMatrix10setElementEjjf # -- Begin function _ZN10HostMatrix10setElementEjjf
	.p2align	1, 0x90
	.type	_ZN10HostMatrix10setElementEjjf,@function
_ZN10HostMatrix10setElementEjjf:        # @_ZN10HostMatrix10setElementEjjf
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	cmpl	%esi, 8(%rdi)
	jbe	.LBB2_2
# %bb.1:
	movl	12(%rdi), %eax
	cmpl	%edx, %eax
	jbe	.LBB2_2
# %bb.5:
	movq	24(%rdi), %rcx
	imull	%esi, %eax
	addl	%edx, %eax
	movss	%xmm0, (%rcx,%rax,4)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB2_2:
	.cfi_def_cfa_offset 32
	movl	$16, %edi
	callq	__cxa_allocate_exception
	movq	%rax, %rbx
.Ltmp9:
	movl	$.L.str, %esi
	movq	%rax, %rdi
	callq	_ZNSt16invalid_argumentC1EPKc
.Ltmp10:
# %bb.3:
	movl	$_ZTISt16invalid_argument, %esi
	movl	$_ZNSt16invalid_argumentD1Ev, %edx
	movq	%rbx, %rdi
	callq	__cxa_throw
.LBB2_4:
.Ltmp11:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	__cxa_free_exception
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end2:
	.size	_ZN10HostMatrix10setElementEjjf, .Lfunc_end2-_ZN10HostMatrix10setElementEjjf
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table2:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Lfunc_begin2-.Lfunc_begin2    # >> Call Site 1 <<
	.uleb128 .Ltmp9-.Lfunc_begin2           #   Call between .Lfunc_begin2 and .Ltmp9
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp9-.Lfunc_begin2           # >> Call Site 2 <<
	.uleb128 .Ltmp10-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp10
	.uleb128 .Ltmp11-.Lfunc_begin2          #     jumps to .Ltmp11
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp10-.Lfunc_begin2          # >> Call Site 3 <<
	.uleb128 .Lfunc_end2-.Ltmp10            #   Call between .Ltmp10 and .Lfunc_end2
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_ZN12DeviceMatrixC2Ejj          # -- Begin function _ZN12DeviceMatrixC2Ejj
	.p2align	1, 0x90
	.type	_ZN12DeviceMatrixC2Ejj,@function
_ZN12DeviceMatrixC2Ejj:                 # @_ZN12DeviceMatrixC2Ejj
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	subq	$56, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
                                        # kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	movl	%esi, 8(%rdi)
	movl	%edx, 12(%rdi)
	movb	$1, 16(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rdi)
	movq	$_ZTV12DeviceMatrix+16, (%rdi)
	leaq	8(%rsp), %rdi
	movq	$0, (%rdi)
	imull	%edx, %esi
	shlq	$2, %rsi
.Ltmp12:
	callq	hipMalloc
.Ltmp13:
# %bb.1:                                # %_ZL9hipMallocIfE10hipError_tPPT_m.exit
	movq	8(%rsp), %rsi
	leaq	24(%rsp), %r14
	movq	%rsi, -8(%r14)
.Ltmp15:
	movq	%r14, %rdi
	callq	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_
.Ltmp16:
# %bb.2:                                # %_ZNSt10shared_ptrIfEC2If19DeviceMatrixDeletervEEPT_T0_.exit
	movaps	16(%rsp), %xmm0
	leaq	48(%rsp), %rdi
	xorps	%xmm1, %xmm1
	movaps	%xmm1, 16(%rsp)
	movq	24(%rbx), %rax
	movq	%rax, -8(%rdi)
	movq	32(%rbx), %rax
	movups	%xmm0, 24(%rbx)
	movq	%rax, (%rdi)
	callq	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	movq	%r14, %rdi
	callq	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	addq	$56, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB3_4:
	.cfi_def_cfa_offset 80
.Ltmp17:
	jmp	.LBB3_5
.LBB3_3:
.Ltmp14:
.LBB3_5:
	movq	%rax, %r14
	movq	$_ZTV6Matrix+16, (%rbx)
	addq	$32, %rbx
	movq	%rbx, %rdi
	callq	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end3:
	.size	_ZN12DeviceMatrixC2Ejj, .Lfunc_end3-_ZN12DeviceMatrixC2Ejj
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table3:
.Lexception3:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end3-.Lcst_begin3
.Lcst_begin3:
	.uleb128 .Ltmp12-.Lfunc_begin3          # >> Call Site 1 <<
	.uleb128 .Ltmp13-.Ltmp12                #   Call between .Ltmp12 and .Ltmp13
	.uleb128 .Ltmp14-.Lfunc_begin3          #     jumps to .Ltmp14
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp15-.Lfunc_begin3          # >> Call Site 2 <<
	.uleb128 .Ltmp16-.Ltmp15                #   Call between .Ltmp15 and .Ltmp16
	.uleb128 .Ltmp17-.Lfunc_begin3          #     jumps to .Ltmp17
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp16-.Lfunc_begin3          # >> Call Site 3 <<
	.uleb128 .Lfunc_end3-.Ltmp16            #   Call between .Ltmp16 and .Lfunc_end3
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end3:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_ZNK12DeviceMatrix10getElementEjj # -- Begin function _ZNK12DeviceMatrix10getElementEjj
	.p2align	1, 0x90
	.type	_ZNK12DeviceMatrix10getElementEjj,@function
_ZNK12DeviceMatrix10getElementEjj:      # @_ZNK12DeviceMatrix10getElementEjj
.Lfunc_begin4:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception4
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	cmpl	%esi, 8(%rdi)
	jbe	.LBB4_2
# %bb.1:
	movl	12(%rdi), %eax
	cmpl	%edx, %eax
	jbe	.LBB4_2
# %bb.5:
	leaq	4(%rsp), %rbx
	movl	$0, (%rbx)
	imull	%esi, %eax
	shlq	$2, %rax
	addq	24(%rdi), %rax
	movl	%edx, %ecx
	leaq	(%rax,%rcx,4), %rsi
	movl	$4, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movss	(%rbx), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB4_2:
	.cfi_def_cfa_offset 32
	movl	$16, %edi
	callq	__cxa_allocate_exception
	movq	%rax, %rbx
.Ltmp18:
	movl	$.L.str, %esi
	movq	%rax, %rdi
	callq	_ZNSt16invalid_argumentC1EPKc
.Ltmp19:
# %bb.3:
	movl	$_ZTISt16invalid_argument, %esi
	movl	$_ZNSt16invalid_argumentD1Ev, %edx
	movq	%rbx, %rdi
	callq	__cxa_throw
.LBB4_4:
.Ltmp20:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	__cxa_free_exception
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end4:
	.size	_ZNK12DeviceMatrix10getElementEjj, .Lfunc_end4-_ZNK12DeviceMatrix10getElementEjj
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table4:
.Lexception4:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end4-.Lcst_begin4
.Lcst_begin4:
	.uleb128 .Lfunc_begin4-.Lfunc_begin4    # >> Call Site 1 <<
	.uleb128 .Ltmp18-.Lfunc_begin4          #   Call between .Lfunc_begin4 and .Ltmp18
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp18-.Lfunc_begin4          # >> Call Site 2 <<
	.uleb128 .Ltmp19-.Ltmp18                #   Call between .Ltmp18 and .Ltmp19
	.uleb128 .Ltmp20-.Lfunc_begin4          #     jumps to .Ltmp20
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp19-.Lfunc_begin4          # >> Call Site 3 <<
	.uleb128 .Lfunc_end4-.Ltmp19            #   Call between .Ltmp19 and .Lfunc_end4
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end4:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_ZN12DeviceMatrix10setElementEjjf # -- Begin function _ZN12DeviceMatrix10setElementEjjf
	.p2align	1, 0x90
	.type	_ZN12DeviceMatrix10setElementEjjf,@function
_ZN12DeviceMatrix10setElementEjjf:      # @_ZN12DeviceMatrix10setElementEjjf
.Lfunc_begin5:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception5
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movss	%xmm0, 4(%rsp)
	cmpl	%esi, 8(%rdi)
	jbe	.LBB5_2
# %bb.1:
	movl	12(%rdi), %eax
	cmpl	%edx, %eax
	jbe	.LBB5_2
# %bb.5:
	imull	%esi, %eax
	shlq	$2, %rax
	addq	24(%rdi), %rax
	movl	%edx, %ecx
	leaq	(%rax,%rcx,4), %rdi
	leaq	4(%rsp), %rsi
	movl	$4, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB5_2:
	.cfi_def_cfa_offset 32
	movl	$16, %edi
	callq	__cxa_allocate_exception
	movq	%rax, %rbx
.Ltmp21:
	movl	$.L.str, %esi
	movq	%rax, %rdi
	callq	_ZNSt16invalid_argumentC1EPKc
.Ltmp22:
# %bb.3:
	movl	$_ZTISt16invalid_argument, %esi
	movl	$_ZNSt16invalid_argumentD1Ev, %edx
	movq	%rbx, %rdi
	callq	__cxa_throw
.LBB5_4:
.Ltmp23:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	__cxa_free_exception
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end5:
	.size	_ZN12DeviceMatrix10setElementEjjf, .Lfunc_end5-_ZN12DeviceMatrix10setElementEjjf
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table5:
.Lexception5:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end5-.Lcst_begin5
.Lcst_begin5:
	.uleb128 .Lfunc_begin5-.Lfunc_begin5    # >> Call Site 1 <<
	.uleb128 .Ltmp21-.Lfunc_begin5          #   Call between .Lfunc_begin5 and .Ltmp21
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp21-.Lfunc_begin5          # >> Call Site 2 <<
	.uleb128 .Ltmp22-.Ltmp21                #   Call between .Ltmp21 and .Ltmp22
	.uleb128 .Ltmp23-.Lfunc_begin5          #     jumps to .Ltmp23
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp22-.Lfunc_begin5          # >> Call Site 3 <<
	.uleb128 .Lfunc_end5-.Ltmp22            #   Call between .Ltmp22 and .Lfunc_end5
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end5:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev,"axG",@progbits,_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev,comdat
	.weak	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev # -- Begin function _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev,@function
_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev: # @_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	.LBB6_6
# %bb.1:
	movq	8(%rbx), %rax
	movabsq	$4294967297, %rcx               # imm = 0x100000001
	cmpq	%rcx, %rax
	jne	.LBB6_2
# %bb.7:
	movq	$0, 8(%rbx)
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*16(%rax)
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmpq	*24(%rax)                       # TAILCALL
.LBB6_2:
	.cfi_def_cfa_offset 16
	cmpb	$0, __libc_single_threaded(%rip)
	je	.LBB6_4
# %bb.3:
	leal	-1(%rax), %ecx
	movl	%ecx, 8(%rbx)
	jmp	.LBB6_5
.LBB6_4:
	movl	$-1, %eax
	lock		xaddl	%eax, 8(%rbx)
.LBB6_5:                                # %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i
	cmpl	$1, %eax
	je	.LBB6_8
.LBB6_6:                                # %_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv.exit
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB6_8:
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv # TAILCALL
.Lfunc_end6:
	.size	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev, .Lfunc_end6-_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end7:
	.size	__clang_call_terminate, .Lfunc_end7-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv,"axG",@progbits,_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv,comdat
	.weak	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv # -- Begin function _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv
	.p2align	1, 0x90
	.type	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv,@function
_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv: # @_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv
	.cfi_startproc
# %bb.0:
	jmp	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv # TAILCALL
.Lfunc_end8:
	.size	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv, .Lfunc_end8-_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv,"axG",@progbits,_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv,comdat
	.weak	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv # -- Begin function _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv
	.p2align	1, 0x90
	.type	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv,@function
_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv: # @_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	callq	*16(%rax)
	cmpb	$0, __libc_single_threaded(%rip)
	je	.LBB9_2
# %bb.1:
	movl	12(%rbx), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, 12(%rbx)
	jmp	.LBB9_3
.LBB9_2:
	movl	$-1, %eax
	lock		xaddl	%eax, 12(%rbx)
.LBB9_3:                                # %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit
	cmpl	$1, %eax
	jne	.LBB9_4
# %bb.5:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmpq	*24(%rax)                       # TAILCALL
.LBB9_4:
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end9:
	.size	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv, .Lfunc_end9-_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE19_M_release_last_useEv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_,"axG",@progbits,_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_,comdat
	.weak	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_ # -- Begin function _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_
	.p2align	1, 0x90
	.type	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_,@function
_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_: # @_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_
.Lfunc_begin6:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception6
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, (%rdi)
.Ltmp24:
	movl	$24, %edi
	callq	_Znwm
.Ltmp25:
# %bb.1:                                # %_ZNSt15__allocated_ptrISaISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EEEED2Ev.exit
	movabsq	$4294967297, %rcx               # imm = 0x100000001
	movq	%rcx, 8(%rax)
	movq	$_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE+16, (%rax)
	movq	%rbx, 16(%rax)
	movq	%rax, (%r14)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB10_2:
	.cfi_def_cfa_offset 32
.Ltmp26:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%rbx, %rbx
	je	.LBB10_4
# %bb.3:
.Ltmp27:
	movq	%rbx, %rdi
	callq	hipHostFree
.Ltmp28:
.LBB10_4:                               # %_ZNK17HostMatrixDeleterclEPf.exit
.Ltmp29:
	callq	__cxa_rethrow
.Ltmp30:
# %bb.8:
.LBB10_5:
.Ltmp31:
	movq	%rax, %rbx
.Ltmp32:
	callq	__cxa_end_catch
.Ltmp33:
# %bb.6:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB10_7:
.Ltmp34:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end10:
	.size	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_, .Lfunc_end10-_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_,"aG",@progbits,_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf17HostMatrixDeleterSaIvEvEET_T0_T1_,comdat
	.p2align	2, 0x0
GCC_except_table10:
.Lexception6:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end6-.Lcst_begin6
.Lcst_begin6:
	.uleb128 .Ltmp24-.Lfunc_begin6          # >> Call Site 1 <<
	.uleb128 .Ltmp25-.Ltmp24                #   Call between .Ltmp24 and .Ltmp25
	.uleb128 .Ltmp26-.Lfunc_begin6          #     jumps to .Ltmp26
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp25-.Lfunc_begin6          # >> Call Site 2 <<
	.uleb128 .Ltmp27-.Ltmp25                #   Call between .Ltmp25 and .Ltmp27
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp27-.Lfunc_begin6          # >> Call Site 3 <<
	.uleb128 .Ltmp30-.Ltmp27                #   Call between .Ltmp27 and .Ltmp30
	.uleb128 .Ltmp31-.Lfunc_begin6          #     jumps to .Ltmp31
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp32-.Lfunc_begin6          # >> Call Site 4 <<
	.uleb128 .Ltmp33-.Ltmp32                #   Call between .Ltmp32 and .Ltmp33
	.uleb128 .Ltmp34-.Lfunc_begin6          #     jumps to .Ltmp34
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp33-.Lfunc_begin6          # >> Call Site 5 <<
	.uleb128 .Lfunc_end10-.Ltmp33           #   Call between .Ltmp33 and .Lfunc_end10
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end6:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev,comdat
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev # -- Begin function _ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.p2align	1, 0x90
	.type	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev,@function
_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev: # @_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.cfi_startproc
# %bb.0:
	jmp	_ZdlPv                          # TAILCALL
.Lfunc_end11:
	.size	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev, .Lfunc_end11-_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,comdat
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # -- Begin function _ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.p2align	1, 0x90
	.type	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,@function
_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv: # @_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
.Lfunc_begin7:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception7
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	.LBB12_2
# %bb.1:
.Ltmp35:
	callq	hipHostFree
.Ltmp36:
.LBB12_2:                               # %_ZNK17HostMatrixDeleterclEPf.exit
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.LBB12_3:
	.cfi_def_cfa_offset 16
.Ltmp37:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end12:
	.size	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv, .Lfunc_end12-_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.cfi_endproc
	.section	.gcc_except_table._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,"aG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,comdat
	.p2align	2, 0x0
GCC_except_table12:
.Lexception7:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase1-.Lttbaseref1
.Lttbaseref1:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end7-.Lcst_begin7
.Lcst_begin7:
	.uleb128 .Ltmp35-.Lfunc_begin7          # >> Call Site 1 <<
	.uleb128 .Ltmp36-.Ltmp35                #   Call between .Ltmp35 and .Ltmp36
	.uleb128 .Ltmp37-.Lfunc_begin7          #     jumps to .Ltmp37
	.byte	1                               #   On action: 1
.Lcst_end7:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,comdat
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv # -- Begin function _ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.p2align	1, 0x90
	.type	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,@function
_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv: # @_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.cfi_startproc
# %bb.0:                                # %_ZNSt15__allocated_ptrISaISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EEEED2Ev.exit
	jmp	_ZdlPv                          # TAILCALL
.Lfunc_end13:
	.size	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv, .Lfunc_end13-_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,comdat
	.weak	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # -- Begin function _ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.p2align	1, 0x90
	.type	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,@function
_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info: # @_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	8(%rsi), %rdi
	cmpq	$_ZTS17HostMatrixDeleter, %rdi
	je	.LBB14_4
# %bb.1:
	cmpb	$42, (%rdi)
	je	.LBB14_2
# %bb.3:                                # %_ZNKSt9type_infoeqERKS_.exit
	movl	$_ZTS17HostMatrixDeleter, %esi
	callq	strcmp
	testl	%eax, %eax
	je	.LBB14_4
.LBB14_2:
	xorl	%ebx, %ebx
	jmp	.LBB14_5
.LBB14_4:                               # %_ZNKSt9type_infoeqERKS_.exit.thread
	addq	$16, %rbx
.LBB14_5:                               # %_ZNKSt9type_infoeqERKS_.exit.thread3
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end14:
	.size	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info, .Lfunc_end14-_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_,"axG",@progbits,_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_,comdat
	.weak	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_ # -- Begin function _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_
	.p2align	1, 0x90
	.type	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_,@function
_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_: # @_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_
.Lfunc_begin8:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception8
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, (%rdi)
.Ltmp38:
	movl	$24, %edi
	callq	_Znwm
.Ltmp39:
# %bb.1:                                # %_ZNSt15__allocated_ptrISaISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EEEED2Ev.exit
	movabsq	$4294967297, %rcx               # imm = 0x100000001
	movq	%rcx, 8(%rax)
	movq	$_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE+16, (%rax)
	movq	%rbx, 16(%rax)
	movq	%rax, (%r14)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB15_2:
	.cfi_def_cfa_offset 32
.Ltmp40:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%rbx, %rbx
	je	.LBB15_4
# %bb.3:
.Ltmp41:
	movq	%rbx, %rdi
	callq	hipFree
.Ltmp42:
.LBB15_4:                               # %_ZNK19DeviceMatrixDeleterclEPf.exit
.Ltmp43:
	callq	__cxa_rethrow
.Ltmp44:
# %bb.8:
.LBB15_5:
.Ltmp45:
	movq	%rax, %rbx
.Ltmp46:
	callq	__cxa_end_catch
.Ltmp47:
# %bb.6:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB15_7:
.Ltmp48:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end15:
	.size	_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_, .Lfunc_end15-_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_,"aG",@progbits,_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IPf19DeviceMatrixDeleterSaIvEvEET_T0_T1_,comdat
	.p2align	2, 0x0
GCC_except_table15:
.Lexception8:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase2-.Lttbaseref2
.Lttbaseref2:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end8-.Lcst_begin8
.Lcst_begin8:
	.uleb128 .Ltmp38-.Lfunc_begin8          # >> Call Site 1 <<
	.uleb128 .Ltmp39-.Ltmp38                #   Call between .Ltmp38 and .Ltmp39
	.uleb128 .Ltmp40-.Lfunc_begin8          #     jumps to .Ltmp40
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp39-.Lfunc_begin8          # >> Call Site 2 <<
	.uleb128 .Ltmp41-.Ltmp39                #   Call between .Ltmp39 and .Ltmp41
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp41-.Lfunc_begin8          # >> Call Site 3 <<
	.uleb128 .Ltmp44-.Ltmp41                #   Call between .Ltmp41 and .Ltmp44
	.uleb128 .Ltmp45-.Lfunc_begin8          #     jumps to .Ltmp45
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp46-.Lfunc_begin8          # >> Call Site 4 <<
	.uleb128 .Ltmp47-.Ltmp46                #   Call between .Ltmp46 and .Ltmp47
	.uleb128 .Ltmp48-.Lfunc_begin8          #     jumps to .Ltmp48
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp47-.Lfunc_begin8          # >> Call Site 5 <<
	.uleb128 .Lfunc_end15-.Ltmp47           #   Call between .Ltmp47 and .Lfunc_end15
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end8:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase2:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev,"axG",@progbits,_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev,comdat
	.weak	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev # -- Begin function _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev,@function
_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev: # @_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.cfi_startproc
# %bb.0:
	retq
.Lfunc_end16:
	.size	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev, .Lfunc_end16-_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev,comdat
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev # -- Begin function _ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.p2align	1, 0x90
	.type	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev,@function
_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev: # @_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.cfi_startproc
# %bb.0:
	jmp	_ZdlPv                          # TAILCALL
.Lfunc_end17:
	.size	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev, .Lfunc_end17-_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,comdat
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # -- Begin function _ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.p2align	1, 0x90
	.type	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,@function
_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv: # @_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
.Lfunc_begin9:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception9
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	.LBB18_2
# %bb.1:
.Ltmp49:
	callq	hipFree
.Ltmp50:
.LBB18_2:                               # %_ZNK19DeviceMatrixDeleterclEPf.exit
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.LBB18_3:
	.cfi_def_cfa_offset 16
.Ltmp51:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end18:
	.size	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv, .Lfunc_end18-_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.cfi_endproc
	.section	.gcc_except_table._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,"aG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv,comdat
	.p2align	2, 0x0
GCC_except_table18:
.Lexception9:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase3-.Lttbaseref3
.Lttbaseref3:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end9-.Lcst_begin9
.Lcst_begin9:
	.uleb128 .Ltmp49-.Lfunc_begin9          # >> Call Site 1 <<
	.uleb128 .Ltmp50-.Ltmp49                #   Call between .Ltmp49 and .Ltmp50
	.uleb128 .Ltmp51-.Lfunc_begin9          #     jumps to .Ltmp51
	.byte	1                               #   On action: 1
.Lcst_end9:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase3:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,comdat
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv # -- Begin function _ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.p2align	1, 0x90
	.type	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv,@function
_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv: # @_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.cfi_startproc
# %bb.0:                                # %_ZNSt15__allocated_ptrISaISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EEEED2Ev.exit
	jmp	_ZdlPv                          # TAILCALL
.Lfunc_end19:
	.size	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv, .Lfunc_end19-_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,"axG",@progbits,_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,comdat
	.weak	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # -- Begin function _ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.p2align	1, 0x90
	.type	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info,@function
_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info: # @_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	8(%rsi), %rdi
	cmpq	$_ZTS19DeviceMatrixDeleter, %rdi
	je	.LBB20_4
# %bb.1:
	cmpb	$42, (%rdi)
	je	.LBB20_2
# %bb.3:                                # %_ZNKSt9type_infoeqERKS_.exit
	movl	$_ZTS19DeviceMatrixDeleter, %esi
	callq	strcmp
	testl	%eax, %eax
	je	.LBB20_4
.LBB20_2:
	xorl	%ebx, %ebx
	jmp	.LBB20_5
.LBB20_4:                               # %_ZNKSt9type_infoeqERKS_.exit.thread
	addq	$16, %rbx
.LBB20_5:                               # %_ZNKSt9type_infoeqERKS_.exit.thread3
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end20:
	.size	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info, .Lfunc_end20-_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.cfi_endproc
                                        # -- End function
	.type	_ZTV10HostMatrix,@object        # @_ZTV10HostMatrix
	.section	.rodata,"a",@progbits
	.globl	_ZTV10HostMatrix
	.p2align	3, 0x0
_ZTV10HostMatrix:
	.quad	0
	.quad	_ZTI10HostMatrix
	.quad	_ZNK10HostMatrix10getElementEjj
	.quad	_ZN10HostMatrix10setElementEjjf
	.size	_ZTV10HostMatrix, 32

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"Invalid argument."
	.size	.L.str, 18

	.type	_ZTV12DeviceMatrix,@object      # @_ZTV12DeviceMatrix
	.section	.rodata,"a",@progbits
	.globl	_ZTV12DeviceMatrix
	.p2align	3, 0x0
_ZTV12DeviceMatrix:
	.quad	0
	.quad	_ZTI12DeviceMatrix
	.quad	_ZNK12DeviceMatrix10getElementEjj
	.quad	_ZN12DeviceMatrix10setElementEjjf
	.size	_ZTV12DeviceMatrix, 32

	.type	_ZTS10HostMatrix,@object        # @_ZTS10HostMatrix
	.globl	_ZTS10HostMatrix
_ZTS10HostMatrix:
	.asciz	"10HostMatrix"
	.size	_ZTS10HostMatrix, 13

	.type	_ZTS6Matrix,@object             # @_ZTS6Matrix
	.section	.rodata._ZTS6Matrix,"aG",@progbits,_ZTS6Matrix,comdat
	.weak	_ZTS6Matrix
_ZTS6Matrix:
	.asciz	"6Matrix"
	.size	_ZTS6Matrix, 8

	.type	_ZTI6Matrix,@object             # @_ZTI6Matrix
	.section	.rodata._ZTI6Matrix,"aG",@progbits,_ZTI6Matrix,comdat
	.weak	_ZTI6Matrix
	.p2align	3, 0x0
_ZTI6Matrix:
	.quad	_ZTVN10__cxxabiv117__class_type_infoE+16
	.quad	_ZTS6Matrix
	.size	_ZTI6Matrix, 16

	.type	_ZTI10HostMatrix,@object        # @_ZTI10HostMatrix
	.section	.rodata,"a",@progbits
	.globl	_ZTI10HostMatrix
	.p2align	3, 0x0
_ZTI10HostMatrix:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTS10HostMatrix
	.quad	_ZTI6Matrix
	.size	_ZTI10HostMatrix, 24

	.type	_ZTS12DeviceMatrix,@object      # @_ZTS12DeviceMatrix
	.globl	_ZTS12DeviceMatrix
_ZTS12DeviceMatrix:
	.asciz	"12DeviceMatrix"
	.size	_ZTS12DeviceMatrix, 15

	.type	_ZTI12DeviceMatrix,@object      # @_ZTI12DeviceMatrix
	.globl	_ZTI12DeviceMatrix
	.p2align	3, 0x0
_ZTI12DeviceMatrix:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTS12DeviceMatrix
	.quad	_ZTI6Matrix
	.size	_ZTI12DeviceMatrix, 24

	.type	_ZTV6Matrix,@object             # @_ZTV6Matrix
	.section	.rodata._ZTV6Matrix,"aG",@progbits,_ZTV6Matrix,comdat
	.weak	_ZTV6Matrix
	.p2align	3, 0x0
_ZTV6Matrix:
	.quad	0
	.quad	_ZTI6Matrix
	.quad	__cxa_pure_virtual
	.quad	__cxa_pure_virtual
	.size	_ZTV6Matrix, 32

	.type	_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.p2align	3, 0x0
_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.quad	0
	.quad	_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.quad	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.quad	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.quad	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.quad	_ZNSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.size	_ZTVSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 56

	.type	_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.asciz	"St19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE"
	.size	_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 81

	.type	_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE:
	.asciz	"St16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE"
	.size	_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE, 52

	.type	_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE:
	.asciz	"St11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE"
	.size	_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE, 47

	.type	_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.p2align	3, 0x0
_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE:
	.quad	_ZTVN10__cxxabiv117__class_type_infoE+16
	.quad	_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.size	_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE, 16

	.type	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.p2align	3, 0x0
_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.size	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE, 24

	.type	_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.p2align	3, 0x0
_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.size	_ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 24

	.type	_ZTS17HostMatrixDeleter,@object # @_ZTS17HostMatrixDeleter
	.section	.rodata._ZTS17HostMatrixDeleter,"aG",@progbits,_ZTS17HostMatrixDeleter,comdat
	.weak	_ZTS17HostMatrixDeleter
_ZTS17HostMatrixDeleter:
	.asciz	"17HostMatrixDeleter"
	.size	_ZTS17HostMatrixDeleter, 20

	.type	_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.p2align	3, 0x0
_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.quad	0
	.quad	_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev
	.quad	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
	.quad	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
	.quad	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
	.quad	_ZNSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
	.size	_ZTVSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 56

	.type	_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.asciz	"St19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE"
	.size	_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 83

	.type	_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,@object # @_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.section	.rodata._ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,"aG",@progbits,_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE,comdat
	.weak	_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.p2align	3, 0x0
_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.quad	_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.size	_ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE, 24

	.type	_ZTS19DeviceMatrixDeleter,@object # @_ZTS19DeviceMatrixDeleter
	.section	.rodata._ZTS19DeviceMatrixDeleter,"aG",@progbits,_ZTS19DeviceMatrixDeleter,comdat
	.weak	_ZTS19DeviceMatrixDeleter
_ZTS19DeviceMatrixDeleter:
	.asciz	"19DeviceMatrixDeleter"
	.size	_ZTS19DeviceMatrixDeleter, 22

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

	.globl	_ZN10HostMatrixC1Ejj
	.type	_ZN10HostMatrixC1Ejj,@function
.set _ZN10HostMatrixC1Ejj, _ZN10HostMatrixC2Ejj
	.globl	_ZN12DeviceMatrixC1Ejj
	.type	_ZN12DeviceMatrixC1Ejj,@function
.set _ZN12DeviceMatrixC1Ejj, _ZN12DeviceMatrixC2Ejj
	.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 _ZTISt16invalid_argument
	.addrsig_sym _ZTVN10__cxxabiv120__si_class_type_infoE
	.addrsig_sym _ZTS10HostMatrix
	.addrsig_sym _ZTVN10__cxxabiv117__class_type_infoE
	.addrsig_sym _ZTS6Matrix
	.addrsig_sym _ZTI6Matrix
	.addrsig_sym _ZTI10HostMatrix
	.addrsig_sym _ZTS12DeviceMatrix
	.addrsig_sym _ZTI12DeviceMatrix
	.addrsig_sym _ZTSSt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.addrsig_sym _ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.addrsig_sym _ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.addrsig_sym _ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
	.addrsig_sym _ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
	.addrsig_sym _ZTISt19_Sp_counted_deleterIPf17HostMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.addrsig_sym _ZTS17HostMatrixDeleter
	.addrsig_sym _ZTSSt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.addrsig_sym _ZTISt19_Sp_counted_deleterIPf19DeviceMatrixDeleterSaIvELN9__gnu_cxx12_Lock_policyE2EE
	.addrsig_sym _ZTS19DeviceMatrixDeleter
	.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
