JCublasJava/src/main/java/jcuda/jcublas/JCublas2.java
public static int cublasGetVector(
        int n,
        int elemSize,
        Pointer x,
        int incx,
        Pointer y,
        int incy)
    {
        return checkResult(cublasGetVectorNative(n, elemSize, x, incx, y, incy));
    }
public static int cublasGetVector(
        int n,
        int elemSize,
        Pointer x,
        int incx,
        Pointer y,
        int incy)
    {
        return checkResult(cublasGetVectorNative(n, elemSize, x, incx, y, incy));
    }
<pre>
cublasStatus_t
cublasGetVector (int n, int elemSize, const void *x, int incx,
void *y, int incy)

copies n elements from a vector x in GPU memory space to a vector y
in CPU memory space. Elements in both vectors are assumed to have a
size of elemSize bytes. Storage spacing between consecutive elements
is incx for the source vector x and incy for the destination vector
y. In general, x points to an object, or part of an object, allocated
via cublasAlloc(). Column major format for two-dimensional matrices
is assumed throughout CUBLAS. Therefore, if the increment for a vector
is equal to 1, this access a column vector while using an increment
equal to the leading dimension of the respective matrix accesses a
row vector.

Return Values
-------------
CUBLAS_STATUS_NOT_INITIALIZED  if CUBLAS library not been initialized
CUBLAS_STATUS_INVALID_VALUE    if incx, incy, or elemSize <= 0
CUBLAS_STATUS_MAPPING_ERROR    if an error occurred accessing GPU memory
CUBLAS_STATUS_SUCCESS          if the operation completed successfully
</pre>