dev_clone Interface

public interface dev_clone

Allocates a device array of a host array's shape and copies it in.

Called by

interface~~dev_clone~~CalledByGraph interface~dev_clone m_omptgt_common::dev_clone proc~omptgt_tdsops_init m_omptgt_tdsops::omptgt_tdsops_init proc~omptgt_tdsops_init->interface~dev_clone

Module Procedures

private subroutine dev_clone_1d(a_dev, a_host)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(out), pointer, contiguous :: a_dev(:)
real(kind=dp), intent(in) :: a_host(:)

private subroutine dev_clone_2d(a_dev, a_host)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(out), pointer, contiguous :: a_dev(:,:)
real(kind=dp), intent(in) :: a_host(:,:)