JCublasJava/src/main/java/jcuda/jcublas/JCublas2.java
public static int cublasSetVectorAsync(
        int n,
        int elemSize,
        Pointer hostPtr,
        int incx,
        Pointer devicePtr,
        int incy,
        cudaStream_t stream)
    {
        return checkResult(cublasSetVectorAsyncNative(n, elemSize, hostPtr, incx, devicePtr, incy, stream));
    }
public static int cublasSetVectorAsync(
        int n,
        int elemSize,
        Pointer hostPtr,
        int incx,
        Pointer devicePtr,
        int incy,
        cudaStream_t stream)
    {
        return checkResult(cublasSetVectorAsyncNative(n, elemSize, hostPtr, incx, devicePtr, incy, stream));
    }
<pre>
cublasStatus
cublasSetVectorAsync ( int n, int elemSize, const void *x, int incx,
void *y, int incy, cudaStream_t stream );

cublasSetVectorAsync has the same functionnality as cublasSetVector
but the transfer is done asynchronously within the CUDA stream passed
in parameter.

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>