public static int cudaMemcpyFromArray(Pointer dst, cudaArray src, long wOffset, long hOffset, long count, int cudaMemcpyKind_kind)
    {
        return checkResult(cudaMemcpyFromArrayNative(dst, src, wOffset, hOffset, count, cudaMemcpyKind_kind));
    }
public static int cudaMemcpyFromArray ( Pointer dst , cudaArray src , long wOffset , long hOffset , long count , int cudaMemcpyKind_kind ) { return checkResult ( cudaMemcpyFromArrayNative ( dst , src , wOffset , hOffset , count , cudaMemcpyKind_kind ) ) ; }
Copies data between host and device.

<pre>
cudaError_t cudaMemcpyFromArray (
void* dst,
cudaArray_const_t src,
size_t wOffset,
size_t hOffset,
size_t count,
cudaMemcpyKind kind )
</pre>
<div>
<p>Copies data between host and device.
Copies <tt>count</tt> bytes from the CUDA array <tt>src</tt> starting
at the upper left corner (<tt>wOffset</tt>, hOffset) to the memory
area pointed to by <tt>dst</tt>, where <tt>kind</tt> is one of
cudaMemcpyHostToHost, cudaMemcpyHostToDevice, cudaMemcpyDeviceToHost,
or cudaMemcpyDeviceToDevice, and specifies the direction of the copy.
</p>
<div>
<span>Note:</span>
<ul>
<li>
<p>Note that this function may
also return error codes from previous, asynchronous launches.
</p>
</li>
<li>
<p>This function exhibits
synchronous behavior for most use cases.
</p>
</li>
</ul>
</div>
</p>
</div>

@param dst Destination memory address
@param src Source memory address
@param wOffset Source starting X offset
@param hOffset Source starting Y offset
@param count Size in bytes to copy
@param kind Type of transfer

@return cudaSuccess, cudaErrorInvalidValue, cudaErrorInvalidDevicePointer,
cudaErrorInvalidMemcpyDirection

@see JCuda#cudaMemcpy
@see JCuda#cudaMemcpy2D
@see JCuda#cudaMemcpyToArray
@see JCuda#cudaMemcpy2DToArray
@see JCuda#cudaMemcpy2DFromArray
@see JCuda#cudaMemcpyArrayToArray
@see JCuda#cudaMemcpy2DArrayToArray
@see JCuda#cudaMemcpyToSymbol
@see JCuda#cudaMemcpyFromSymbol
@see JCuda#cudaMemcpyAsync
@see JCuda#cudaMemcpy2DAsync
@see JCuda#cudaMemcpyToArrayAsync
@see JCuda#cudaMemcpy2DToArrayAsync
@see JCuda#cudaMemcpyFromArrayAsync
@see JCuda#cudaMemcpy2DFromArrayAsync
@see JCuda#cudaMemcpyToSymbolAsync
@see JCuda#cudaMemcpyFromSymbolAsync