public static int cublasSetMatrix(
        int rows,
        int cols,
        int elemSize,
        Pointer A,
        int lda,
        Pointer B,
        int ldb) {
    """
	<pre>
	cublasStatus_t
	cublasSetMatrix (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 CPU memory
	space to a matrix B in GPU 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, B 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 or cols < 0, or elemSize, lda, or
	ldb <= 0
	CUBLAS_STATUS_MAPPING_ERROR    if error occurred accessing GPU memory
	CUBLAS_STATUS_SUCCESS          if the operation completed successfully
	</pre>
    """
        return checkResult(cublasSetMatrixNative(rows, cols, elemSize, A, lda, B, ldb));
    }
public static int cublasSetMatrix(
        int rows,
        int cols,
        int elemSize,
        Pointer A,
        int lda,
        Pointer B,
        int ldb)
    {
        return checkResult(cublasSetMatrixNative(rows, cols, elemSize, A, lda, B, ldb));
    }
public static int cublasSetMatrix ( int rows , int cols , int elemSize , Pointer A , int lda , Pointer B , int ldb ) { return checkResult ( cublasSetMatrixNative ( rows , cols , elemSize , A , lda , B , ldb ) ) ; }
<pre>
cublasStatus_t
cublasSetMatrix (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 CPU memory
space to a matrix B in GPU 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, B 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 or cols < 0, or elemSize, lda, or
ldb <= 0
CUBLAS_STATUS_MAPPING_ERROR    if error occurred accessing GPU memory
CUBLAS_STATUS_SUCCESS          if the operation completed successfully
</pre>
<pre > cublasStatus_t cublasSetMatrix ( int rows int cols int elemSize const void * A int lda void * B int ldb )