UpdateDevice_Mesh2D Subroutine

public subroutine UpdateDevice_Mesh2D(this)

Arguments

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

Calls

proc~~updatedevice_mesh2d~~CallsGraph proc~updatedevice_mesh2d UpdateDevice_Mesh2D interface~hipmemcpy hipMemcpy proc~updatedevice_mesh2d->interface~hipmemcpy proc~gpucheck gpuCheck proc~updatedevice_mesh2d->proc~gpucheck

Contents

Source Code


Source Code

  subroutine UpdateDevice_Mesh2D(this)
    implicit none
    class(Mesh2D),intent(inout) :: this

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

  endsubroutine UpdateDevice_Mesh2D