|
PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
Test mixed precision least squares problem with iterative refinement. More...
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <math.h>#include <plasma.h>#include <cblas.h>#include <lapacke.h>#include <core_blas.h>
Go to the source code of this file.
Macros | |
| #define | max(a, b) ((a) > (b) ? (a) : (b)) |
| #define | min(a, b) ((a) < (b) ? (a) : (b)) |
Functions | |
| int | check_orthogonality (int, int, int, PLASMA_Complex64_t *, double) |
| int | check_factorization (int, int, PLASMA_Complex64_t *, PLASMA_Complex64_t *, int, PLASMA_Complex64_t *, double) |
| int | check_solution (int, int, int, PLASMA_Complex64_t *, int, PLASMA_Complex64_t *, PLASMA_Complex64_t *, int, double) |
| int | main (int argc, char **argv) |
Variables | |
| int | IONE = 1 |
| int | ISEED [4] = {0,0,0,1} |
Test mixed precision least squares problem with iterative refinement.
PLASMA testing routines PLASMA is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver
Definition in file testing_zcgels.c.
| #define max | ( | a, | |
| b | |||
| ) | ((a) > (b) ? (a) : (b)) |
Definition at line 28 of file testing_zcgels.c.
| #define min | ( | a, | |
| b | |||
| ) | ((a) < (b) ? (a) : (b)) |
Definition at line 31 of file testing_zcgels.c.
| static int check_factorization | ( | int | M, |
| int | N, | ||
| PLASMA_Complex64_t * | A1, | ||
| PLASMA_Complex64_t * | A2, | ||
| int | LDA, | ||
| PLASMA_Complex64_t * | Q, | ||
| double | eps | ||
| ) |
Definition at line 212 of file testing_zcgels.c.
References CBLAS_SADDR, cblas_zgemm(), CblasColMajor, CblasNoTrans, L, lapack_const, max, and PlasmaInfNorm.

| static int check_orthogonality | ( | int | M, |
| int | N, | ||
| int | LDQ, | ||
| PLASMA_Complex64_t * | Q, | ||
| double | eps | ||
| ) |
Definition at line 163 of file testing_zcgels.c.
References cblas_zherk(), CblasColMajor, CblasConjTrans, CblasNoTrans, CblasUpper, lapack_const, min, and PlasmaInfNorm.

| static int check_solution | ( | int | M, |
| int | N, | ||
| int | NRHS, | ||
| PLASMA_Complex64_t * | A1, | ||
| int | LDA, | ||
| PLASMA_Complex64_t * | B1, | ||
| PLASMA_Complex64_t * | B2, | ||
| int | LDB, | ||
| double | eps | ||
| ) |
Definition at line 286 of file testing_zcgels.c.
References CBLAS_SADDR, cblas_zgemm(), CblasColMajor, CblasConjTrans, CblasNoTrans, lapack_const, max, and PlasmaInfNorm.

| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 41 of file testing_zcgels.c.
References check_solution(), IONE, ISEED, min, PLASMA_Finalize(), PLASMA_Init(), PLASMA_SUCCESS, PLASMA_zcgels(), PlasmaNoTrans, and Q.

| int IONE = 1 |
Definition at line 38 of file testing_zcgels.c.
| int ISEED[4] = {0,0,0,1} |
Definition at line 39 of file testing_zcgels.c.