JCublasJava/src/main/java/jcuda/jcublas/JCublas2.java
public static int cublasGetMatrix(
        int rows,
        int cols,
        int elemSize,
        Pointer A,
        int lda,
        Pointer B,
        int ldb)
    {
        return checkResult(cublasGetMatrixNative(rows, cols, elemSize, A, lda, B, ldb));
    }
public static int cublasGetMatrix(
        int rows,
        int cols,
        int elemSize,
        Pointer A,
        int lda,
        Pointer B,
        int ldb)
    {
        return checkResult(cublasGetMatrixNative(rows, cols, elemSize, A, lda, B, ldb));
    }
<pre>
cublasStatus_t
cublasGetMatrix (int rows, int cols, int elemSize, const void *A,
int lda, void *B, int ldb)

copies a tile of rows x cols elements from a matrix A in GPU memory
space to a matrix B in CPU memory space. Each element requires storage
of elemSize bytes. Both matrices are assumed to be stored in column
major format, with the leading dimension (i.e. number of rows) of
source matrix A provided in lda, and the leading dimension of matrix B
provided in ldb. In general, A points to an object, or part of an
object, that was allocated via cublasAlloc().

Return Values
-------------
CUBLAS_STATUS_NOT_INITIALIZED  if CUBLAS library has not been initialized
CUBLAS_STATUS_INVALID_VALUE    if rows, cols, eleSize, lda, or ldb <= 0
CUBLAS_STATUS_MAPPING_ERROR    if error occurred accessing GPU memory
CUBLAS_STATUS_SUCCESS          if the operation completed successfully
</pre>