JCublasJava/src/main/java/jcuda/jcublas/JCublas.java
public static float cublasScnrm2(int n, Pointer x, int incx)
    {
        float result = cublasScnrm2Native(n, x, incx);
        checkResultBLAS();
        return result;
    }
public static float cublasScnrm2(int n, Pointer x, int incx)
    {
        float result = cublasScnrm2Native(n, x, incx);
        checkResultBLAS();
        return result;
    }
public static float cublasScnrm2 ( int n , Pointer x , int incx ) { float result = cublasScnrm2Native ( n , x , incx ) ; checkResultBLAS ( ) ; return result ; }
<pre>
float
cublasScnrm2 (int n, const cuComplex *x, int incx)

computes the Euclidean norm of the single-complex n-vector x. This code
uses simple scaling to avoid intermediate underflow and overflow.

Input
-----
n      number of elements in input vector
x      single-complex vector with n elements
incx   storage spacing between elements of x

Output
------
returns Euclidian norm (0 if n <= 0 or incx <= 0, or if an error occurs)

Reference: http://www.netlib.org/blas/scnrm2.f

Error status for this function can be retrieved via cublasGetError().

Error Status
------------
CUBLAS_STATUS_NOT_INITIALIZED  if CUBLAS library has not been initialized
CUBLAS_STATUS_EXECUTION_FAILED if function failed to launch on GPU
</pre>
<pre > float cublasScnrm2 ( int n const cuComplex * x int incx )