(handle, uplo, n, alpha, x, incx, y, incy, AP)
Rank-2 operation on real single precision symmetric packed matrix.

    References
    ----------
    `cublas<t>spr2 <http://docs.nvidia.com/cuda/cublas/#cublas-lt-t-gt-spr2>`_
Rank-2 operation on real single precision symmetric packed matrix.
Rank - 2 operation on real single precision symmetric packed matrix .
def cublasSspr2(handle, uplo, n, alpha, x, incx, y, incy, AP):
    """
    Rank-2 operation on real single precision symmetric packed matrix.

    References
    ----------
    `cublas<t>spr2 <http://docs.nvidia.com/cuda/cublas/#cublas-lt-t-gt-spr2>`_
    """

    status = _libcublas.cublasSspr2_v2(handle,
                                       _CUBLAS_FILL_MODE[uplo], n,
                                       ctypes.byref(ctypes.c_float(alpha)),
                                       int(x), incx, int(y), incy, int(AP))

    cublasCheckStatus(status)
def cublasSspr2 ( handle , uplo , n , alpha , x , incx , y , incy , AP ) : status = _libcublas . cublasSspr2_v2 ( handle , _CUBLAS_FILL_MODE [ uplo ] , n , ctypes . byref ( ctypes . c_float ( alpha ) ) , int ( x ) , incx , int ( y ) , incy , int ( AP ) ) cublasCheckStatus ( status )