UpdateDevice_Mesh3D Subroutine

public subroutine UpdateDevice_Mesh3D(this)

Arguments

TypeIntentOptionalAttributesName
class(Mesh3D), intent(inout) :: this

Calls

proc~~updatedevice_mesh3d~~CallsGraph proc~updatedevice_mesh3d UpdateDevice_Mesh3D interface~hipmemcpy hipMemcpy proc~updatedevice_mesh3d->interface~hipmemcpy proc~gpucheck gpuCheck proc~updatedevice_mesh3d->proc~gpucheck

Contents

Source Code


Source Code

  subroutine UpdateDevice_Mesh3D(this)
    implicit none
    class(Mesh3D),intent(inout) :: this

    call gpuCheck(hipMemcpy(this%sideInfo_gpu,c_loc(this%sideInfo),sizeof(this%sideInfo),hipMemcpyHostToDevice))

  endsubroutine UpdateDevice_Mesh3D