JCublasJava/src/main/java/jcuda/jcublas/JCublas2.java
public static int cublasSgemv(
        cublasHandle handle, 
        int trans, 
        int m, 
        int n, 
        Pointer alpha, /** host or device pointer */
        Pointer A, 
        int lda, 
        Pointer x, 
        int incx, 
        Pointer beta, /** host or device pointer */
        Pointer y, 
        int incy)
    {
        return checkResult(cublasSgemvNative(handle, trans, m, n, alpha, A, lda, x, incx, beta, y, incy));
    }
public static int cublasSgemv(
        cublasHandle handle, 
        int trans, 
        int m, 
        int n, 
        Pointer alpha, /** host or device pointer */
        Pointer A, 
        int lda, 
        Pointer x, 
        int incx, 
        Pointer beta, /** host or device pointer */
        Pointer y, 
        int incy)
    {
        return checkResult(cublasSgemvNative(handle, trans, m, n, alpha, A, lda, x, incx, beta, y, incy));
    }
host or device pointer