This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipmemcpyhtod Interface Reference

hipmemcpyhtod Interface Reference#

HIPFORT API Reference: hipfort::hipmemcpyhtod Interface Reference
hipfort::hipmemcpyhtod Interface Reference

Copy data from Host to Device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemcpyhtod_ (dst, src, sizeBytes)
 

Detailed Description

Copy data from Host to Device.

Parameters
[out]dstData being copy to
[in]srcData being copy from
[in]sizeBytesData size in bytes
Returns
hipSuccess, hipErrorDeInitialized, hipErrorNotInitialized, hipErrorInvalidContext, hipErrorInvalidValue
See also
hipArrayCreate, hipArrayDestroy, hipArrayGetDescriptor, hipMemAlloc, hipMemAllocHost, hipMemAllocPitch, hipMemcpy2D, hipMemcpy2DAsync, hipMemcpy2DUnaligned, hipMemcpyAtoA, hipMemcpyAtoD, hipMemcpyAtoH, hipMemcpyAtoHAsync, hipMemcpyDtoA, hipMemcpyDtoD, hipMemcpyDtoDAsync, hipMemcpyDtoH, hipMemcpyDtoHAsync, hipMemcpyHtoA, hipMemcpyHtoAAsync, hipMemcpyHtoDAsync, hipMemFree, hipMemFreeHost, hipMemGetAddressRange, hipMemGetInfo, hipMemHostAlloc, hipMemHostGetDevicePointer

Member Function/Subroutine Documentation

◆ hipmemcpyhtod_()

integer(kind(hipsuccess)) function hipfort::hipmemcpyhtod::hipmemcpyhtod_ ( type(c_ptr), value  dst,
type(c_ptr), value  src,
integer(c_size_t), value  sizeBytes 
)

The documentation for this interface was generated from the following file: