public static int cublasAlloc(int n, int elemSize, Pointer ptr) {
    """
	Wrapper for CUBLAS function.<br />
	<br />
	cublasStatus
	cublasAlloc (int n, int elemSize, void **devicePtr)<br />
	<br />
	creates an object in GPU memory space capable of holding an array of
	n elements, where each element requires elemSize bytes of storage. If
	the function call is successful, a pointer to the object in GPU memory
	space is placed in devicePtr. Note that this is a device pointer that
	cannot be dereferenced in host code.<br />
	<br />
	Return Values<br />
	-------------<br />
	CUBLAS_STATUS_NOT_INITIALIZED  if CUBLAS library has not been initialized<br />
	CUBLAS_STATUS_INVALID_VALUE    if n <= 0, or elemSize <= 0<br />
	CUBLAS_STATUS_ALLOC_FAILED     if the object could not be allocated due to
	lack of resources.<br />
	CUBLAS_STATUS_SUCCESS          if storage was successfully allocated<br />
    """
        return checkResult(cublasAllocNative(n, elemSize, ptr));
    }
public static int cublasAlloc(int n, int elemSize, Pointer ptr)
    {
        return checkResult(cublasAllocNative(n, elemSize, ptr));
    }
public static int cublasAlloc ( int n , int elemSize , Pointer ptr ) { return checkResult ( cublasAllocNative ( n , elemSize , ptr ) ) ; }
Wrapper for CUBLAS function.<br />
<br />
cublasStatus
cublasAlloc (int n, int elemSize, void **devicePtr)<br />
<br />
creates an object in GPU memory space capable of holding an array of
n elements, where each element requires elemSize bytes of storage. If
the function call is successful, a pointer to the object in GPU memory
space is placed in devicePtr. Note that this is a device pointer that
cannot be dereferenced in host code.<br />
<br />
Return Values<br />
-------------<br />
CUBLAS_STATUS_NOT_INITIALIZED  if CUBLAS library has not been initialized<br />
CUBLAS_STATUS_INVALID_VALUE    if n <= 0, or elemSize <= 0<br />
CUBLAS_STATUS_ALLOC_FAILED     if the object could not be allocated due to
lack of resources.<br />
CUBLAS_STATUS_SUCCESS          if storage was successfully allocated<br />
Wrapper for CUBLAS function . <br / > <br / > cublasStatus cublasAlloc ( int n int elemSize void ** devicePtr ) <br / > <br / > creates an object in GPU memory space capable of holding an array of n elements where each element requires elemSize bytes of storage . If the function call is successful a pointer to the object in GPU memory space is placed in devicePtr . Note that this is a device pointer that cannot be dereferenced in host code . <br / > <br / > Return Values<br / > ------------- <br / > CUBLAS_STATUS_NOT_INITIALIZED if CUBLAS library has not been initialized<br / > CUBLAS_STATUS_INVALID_VALUE if n < = 0 or elemSize < = 0<br / > CUBLAS_STATUS_ALLOC_FAILED if the object could not be allocated due to lack of resources . <br / > CUBLAS_STATUS_SUCCESS if storage was successfully allocated<br / >