JCublasJava/src/main/java/jcuda/jcublas/JCublas2.java
public static int cublasDdot(
        cublasHandle handle, 
        int n, 
        Pointer x, 
        int incx, 
        Pointer y, 
        int incy, 
        Pointer result)/** host or device pointer */
    {
        return checkResult(cublasDdotNative(handle, n, x, incx, y, incy, result));
    }
public static int cublasDdot(
        cublasHandle handle, 
        int n, 
        Pointer x, 
        int incx, 
        Pointer y, 
        int incy, 
        Pointer result)/** host or device pointer */
    {
        return checkResult(cublasDdotNative(handle, n, x, incx, y, incy, result));
    }
host or device pointer