PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
Example for solving a system of linear equations using LU factorization and PLASMA_dtrsmpl routine. 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.
Functions | |
int | check_solution (int, int, double *, int, double *, double *, int) |
int | main () |
Variables | |
int | IONE = 1 |
int | ISEED [4] = {0,0,0,1} |
Example for solving a system of linear equations using LU factorization and PLASMA_dtrsmpl routine.
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 example_dtrsmpl.c.
int check_solution | ( | int | N, |
int | NRHS, | ||
double * | A1, | ||
int | LDA, | ||
double * | B1, | ||
double * | B2, | ||
int | LDB | ||
) |
int main | ( | ) |
Definition at line 33 of file example_dtrsmpl.c.
References check_solution(), IONE, IPIV, ISEED, L, PLASMA_Alloc_Workspace_dgetrf_incpiv(), PLASMA_dgetrf_incpiv(), PLASMA_dtrsm(), PLASMA_dtrsmpl(), PLASMA_Finalize(), PLASMA_Init(), PlasmaLeft, PlasmaNonUnit, PlasmaNoTrans, and PlasmaUpper.
int IONE = 1 |
Definition at line 30 of file example_dtrsmpl.c.
int ISEED[4] = {0,0,0,1} |
Definition at line 31 of file example_dtrsmpl.c.