예제 #1
0
float magma_scnrm2(
    magma_int_t n,
    const magmaFloatComplex *dx, magma_int_t incx )
{
    return cublasScnrm2( n, dx, incx );
}
예제 #2
0
//
// Overloaded function for dispatching to
// * CUBLAS backend, and
// * complex<float> value-type.
//
inline float nrm2( const int n, const std::complex<float>* x,
        const int incx ) {
    return cublasScnrm2( n, x, incx );
}