public static int cuMemcpyDtoA(CUarray dstArray, long dstIndex, CUdeviceptr srcDevice, long ByteCount)
    {
        return checkResult(cuMemcpyDtoANative(dstArray, dstIndex, srcDevice, ByteCount));
    }
public static int cuMemcpyDtoA ( CUarray dstArray , long dstIndex , CUdeviceptr srcDevice , long ByteCount ) { return checkResult ( cuMemcpyDtoANative ( dstArray , dstIndex , srcDevice , ByteCount ) ) ; }
Copies memory from Device to Array.

<pre>
CUresult cuMemcpyDtoA (
CUarray dstArray,
size_t dstOffset,
CUdeviceptr srcDevice,
size_t ByteCount )
</pre>
<div>
<p>Copies memory from Device to Array.
Copies from device memory to a 1D CUDA array. <tt>dstArray</tt> and
<tt>dstOffset</tt> specify the CUDA array handle and starting index
of the destination data. <tt>srcDevice</tt> specifies the base pointer
of the source. <tt>ByteCount</tt> specifies the number of bytes to
copy.
</p>
<div>
<span>Note:</span>
<p>Note that this
function may also return error codes from previous, asynchronous
launches.
</p>
</div>
</p>
</div>

@param dstArray Destination array
@param dstOffset Offset in bytes of destination array
@param srcDevice Source device pointer
@param ByteCount Size of memory copy in bytes

@return CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED,
CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE

@see JCudaDriver#cuArray3DCreate
@see JCudaDriver#cuArray3DGetDescriptor
@see JCudaDriver#cuArrayCreate
@see JCudaDriver#cuArrayDestroy
@see JCudaDriver#cuArrayGetDescriptor
@see JCudaDriver#cuMemAlloc
@see JCudaDriver#cuMemAllocHost
@see JCudaDriver#cuMemAllocPitch
@see JCudaDriver#cuMemcpy2D
@see JCudaDriver#cuMemcpy2DAsync
@see JCudaDriver#cuMemcpy2DUnaligned
@see JCudaDriver#cuMemcpy3D
@see JCudaDriver#cuMemcpy3DAsync
@see JCudaDriver#cuMemcpyAtoA
@see JCudaDriver#cuMemcpyAtoD
@see JCudaDriver#cuMemcpyAtoH
@see JCudaDriver#cuMemcpyAtoHAsync
@see JCudaDriver#cuMemcpyDtoD
@see JCudaDriver#cuMemcpyDtoDAsync
@see JCudaDriver#cuMemcpyDtoH
@see JCudaDriver#cuMemcpyDtoHAsync
@see JCudaDriver#cuMemcpyHtoA
@see JCudaDriver#cuMemcpyHtoAAsync
@see JCudaDriver#cuMemcpyHtoD
@see JCudaDriver#cuMemcpyHtoDAsync
@see JCudaDriver#cuMemFree
@see JCudaDriver#cuMemFreeHost
@see JCudaDriver#cuMemGetAddressRange
@see JCudaDriver#cuMemGetInfo
@see JCudaDriver#cuMemHostAlloc
@see JCudaDriver#cuMemHostGetDevicePointer
@see JCudaDriver#cuMemsetD2D8
@see JCudaDriver#cuMemsetD2D16
@see JCudaDriver#cuMemsetD2D32
@see JCudaDriver#cuMemsetD8
@see JCudaDriver#cuMemsetD16
@see JCudaDriver#cuMemsetD32