pub unsafe extern "C" fn hipMemcpyDtoA(
dstArray: hipArray_t,
dstOffset: usize,
srcDevice: hipDeviceptr_t,
ByteCount: usize,
) -> hipError_t
Expand description
@brief Copies from device memory to a 1D array.
@param[out] dstArray Destination array @param[in] dstOffset Offset in bytes of destination array @param[in] srcDevice Source device pointer @param[in] ByteCount Size of memory copy in bytes
@return #hipSuccess, #hipErrorDeinitialized, #hipErrorNotInitialized, #hipErrorInvalidContext, #hipErrorInvalidValue
@see 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