本文整理汇总了C++中cublas_uplo_const函数的典型用法代码示例。如果您正苦于以下问题:C++ cublas_uplo_const函数的具体用法?C++ cublas_uplo_const怎么用?C++ cublas_uplo_const使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了cublas_uplo_const函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: magma_zsyrk
void magma_zsyrk(
magma_uplo_t uplo, magma_trans_t trans,
magma_int_t n, magma_int_t k,
cuDoubleComplex alpha, cuDoubleComplex const* dA, magma_int_t lda,
cuDoubleComplex beta, cuDoubleComplex* dC, magma_int_t ldc )
{
cublasZsyrk(
cublas_uplo_const( uplo ),
cublas_trans_const( trans ),
n, k,
alpha, dA, lda,
beta, dC, ldc );
}
开发者ID:OpenCMISS-Dependencies,项目名称:pastix,代码行数:13,代码来源:zsytrf_stapiv_gpu.c示例2: magma_dsyrk
void magma_dsyrk(
magma_uplo_t uplo, magma_trans_t trans,
magma_int_t n, magma_int_t k,
double alpha, double const* dA, magma_int_t lda,
double beta, double* dC, magma_int_t ldc )
{
cublasDsyrk(
cublas_uplo_const( uplo ),
cublas_trans_const( trans ),
n, k,
alpha, dA, lda,
beta, dC, ldc );
}
开发者ID:cjy7117,项目名称:DVFS-MAGMA,代码行数:13,代码来源:blas_d.cpp示例3: magma_cher
void magma_cher(
magma_uplo_t uplo,
magma_int_t n,
float alpha,
const magmaFloatComplex *dx, magma_int_t incx,
magmaFloatComplex *dA, magma_int_t ldda )
{
cublasCher(
cublas_uplo_const( uplo ),
n,
alpha, dx, incx,
dA, ldda );
}
开发者ID:EmergentOrder,项目名称:magma,代码行数:13,代码来源:blas_c.cpp示例4: magma_ssyrk
void magma_ssyrk(
magma_uplo_t uplo, magma_trans_t trans,
magma_int_t n, magma_int_t k,
float alpha, float const* dA, magma_int_t lda,
float beta, float* dC, magma_int_t ldc )
{
cublasSsyrk(
cublas_uplo_const( uplo ),
cublas_trans_const( trans ),
n, k,
alpha, dA, lda,
beta, dC, ldc );
}
开发者ID:cjy7117,项目名称:DVFS-MAGMA,代码行数:13,代码来源:blas_s.cpp示例5: magma_dsyr
void magma_dsyr(
magma_uplo_t uplo,
magma_int_t n,
double alpha,
const double *dx, magma_int_t incx,
double *dA, magma_int_t ldda )
{
cublasDsyr(
cublas_uplo_const( uplo ),
n,
alpha, dx, incx,
dA, ldda );
}
开发者ID:EmergentOrder,项目名称:magma,代码行数:13,代码来源:blas_d.cpp示例6: magma_ssymv
void magma_ssymv(
magma_uplo_t uplo,
magma_int_t n,
float alpha, float const* dA, magma_int_t lda,
float const* dx, magma_int_t incx,
float beta, float* dy, magma_int_t incy )
{
cublasSsymv(
cublas_uplo_const( uplo ),
n,
alpha, dA, lda,
dx, incx,
beta, dy, incy );
}
开发者ID:cjy7117,项目名称:DVFS-MAGMA,代码行数:14,代码来源:blas_s.cpp示例7: magma_ctrsv
void magma_ctrsv(
magma_uplo_t uplo, magma_trans_t trans, magma_diag_t diag,
magma_int_t n,
const magmaFloatComplex *dA, magma_int_t ldda,
magmaFloatComplex *dx, magma_int_t incx )
{
cublasCtrsv(
cublas_uplo_const( uplo ),
cublas_trans_const( trans ),
cublas_diag_const( diag ),
n,
dA, ldda,
dx, incx );
}
开发者ID:EmergentOrder,项目名称:magma,代码行数:14,代码来源:blas_c.cpp示例8: magma_dsymv
void magma_dsymv(
magma_uplo_t uplo,
magma_int_t n,
double alpha, double const* dA, magma_int_t lda,
double const* dx, magma_int_t incx,
double beta, double* dy, magma_int_t incy )
{
cublasDsymv(
cublas_uplo_const( uplo ),
n,
alpha, dA, lda,
dx, incx,
beta, dy, incy );
}
开发者ID:cjy7117,项目名称:DVFS-MAGMA,代码行数:14,代码来源:blas_d.cpp示例9: dimension
/** Perform Hermitian rank-1 update, \f$ A = \alpha x x^H + A \f$.
@param[in]
uplo Whether the upper or lower triangle of A is referenced.
@param[in]
n Number of rows and columns of A. n >= 0.
@param[in]
alpha Scalar \f$ \alpha \f$
@param[in]
dx COMPLEX_16 array on GPU device.
The n element vector x of dimension (1 + (n-1)*incx).
@param[in]
incx Stride between consecutive elements of dx. incx != 0.
@param[in,out]
dA COMPLEX_16 array of dimension (ldda,n), ldda >= max(1,n).
The n-by-n matrix A, on GPU device.
@param[in]
ldda Leading dimension of dA.
@ingroup magma_zblas2
*/
extern "C" void
magma_zher(
magma_uplo_t uplo,
magma_int_t n,
double alpha,
magmaDoubleComplex_const_ptr dx, magma_int_t incx,
magmaDoubleComplex_ptr dA, magma_int_t ldda )
{
cublasZher(
cublas_uplo_const( uplo ),
n,
alpha, dx, incx,
dA, ldda );
}
开发者ID:rdiahelwe,项目名称:magma,代码行数:41,代码来源:blas_z.cpp示例10: magma_strsv
void magma_strsv(
magma_uplo_t uplo, magma_trans_t trans, magma_diag_t diag,
magma_int_t n,
float const *dA, magma_int_t lda,
float *dx, magma_int_t incx )
{
cublasStrsv(
cublas_uplo_const( uplo ),
cublas_trans_const( trans ),
cublas_diag_const( diag ),
n,
dA, lda,
dx, incx );
}
开发者ID:cjy7117,项目名称:DVFS-MAGMA,代码行数:14,代码来源:blas_s.cpp示例11: magma_dtrsv
void magma_dtrsv(
magma_uplo_t uplo, magma_trans_t trans, magma_diag_t diag,
magma_int_t n,
const double *dA, magma_int_t ldda,
double *dx, magma_int_t incx )
{
cublasDtrsv(
cublas_uplo_const( uplo ),
cublas_trans_const( trans ),
cublas_diag_const( diag ),
n,
dA, ldda,
dx, incx );
}
开发者ID:EmergentOrder,项目名称:magma,代码行数:14,代码来源:blas_d.cpp示例12: magma_dtrmm
void magma_dtrmm(
magma_side_t side, magma_uplo_t uplo, magma_trans_t trans, magma_diag_t diag,
magma_int_t m, magma_int_t n,
double alpha, double const *dA, magma_int_t lda,
double *dB, magma_int_t ldb )
{
cublasDtrmm(
cublas_side_const( side ),
cublas_uplo_const( uplo ),
cublas_trans_const( trans ),
cublas_diag_const( diag ),
m, n,
alpha, dA, lda,
dB, ldb );
}
开发者ID:cjy7117,项目名称:DVFS-MAGMA,代码行数:15,代码来源:blas_d.cpp示例13: magma_strsm
void magma_strsm(
magma_side_t side, magma_uplo_t uplo, magma_trans_t trans, magma_diag_t diag,
magma_int_t m, magma_int_t n,
float alpha, float const* dA, magma_int_t lda,
float* dB, magma_int_t ldb )
{
cublasStrsm(
cublas_side_const( side ),
cublas_uplo_const( uplo ),
cublas_trans_const( trans ),
cublas_diag_const( diag ),
m, n,
alpha, dA, lda,
dB, ldb );
}
开发者ID:cjy7117,项目名称:DVFS-MAGMA,代码行数:15,代码来源:blas_s.cpp示例14: magma_cherk
void magma_cherk(
magma_uplo_t uplo, magma_trans_t trans,
magma_int_t n, magma_int_t k,
float alpha,
const magmaFloatComplex *dA, magma_int_t ldda,
float beta,
magmaFloatComplex *dC, magma_int_t lddc )
{
cublasCherk(
cublas_uplo_const( uplo ),
cublas_trans_const( trans ),
n, k,
alpha, dA, ldda,
beta, dC, lddc );
}
开发者ID:EmergentOrder,项目名称:magma,代码行数:15,代码来源:blas_c.cpp示例15: magma_ssymm
void magma_ssymm(
magma_side_t side, magma_uplo_t uplo,
magma_int_t m, magma_int_t n,
float alpha, float const* dA, magma_int_t lda,
float const* dB, magma_int_t ldb,
float beta, float* dC, magma_int_t ldc )
{
cublasSsymm(
cublas_side_const( side ),
cublas_uplo_const( uplo ),
m, n,
alpha, dA, lda,
dB, ldb,
beta, dC, ldc );
}
开发者ID:cjy7117,项目名称:DVFS-MAGMA,代码行数:15,代码来源:blas_s.cpp本文标签属性:
示例:示例志愿表
代码:代码零九