HiCMA
Hierarchical Computations on Manycore Architectures
testing_zauxiliary.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/resource.h>
#include <morse.h>
#include "testing_zauxiliary.h"

Go to the source code of this file.

Macros

#define COMPLEX
 
#define DOUBLE
 
#define map_cm(m, n, i, j)   ((i) + (j) * (m))
 
#define map_rm(m, n, i, j)   ((i) * (n) + (j))
 

Functions

int map_CM (int m, int n, int mb, int nb, int i, int j)
 
int map_RM (int m, int n, int mb, int nb, int i, int j)
 
int map_CCRB (int m, int n, int mb, int nb, int i, int j)
 
int map_CRRB (int m, int n, int mb, int nb, int i, int j)
 
int map_RCRB (int m, int n, int mb, int nb, int i, int j)
 
int map_RRRB (int m, int n, int mb, int nb, int i, int j)
 
int main (int argc, char **argv)
 

Variables

int IONE = 1
 
int ISEED [4] = {0,0,0,1}
 
int format [6] = { MorseCM, MorseRM, MorseCCRB, MorseCRRB, MorseRCRB, MorseRRRB }
 
int side [2] = { MorseLeft, MorseRight }
 
int uplo [2] = { MorseUpper, MorseLower }
 
int diag [2] = { MorseNonUnit, MorseUnit }
 
int trans [3] = { MorseNoTrans, MorseTrans, MorseConjTrans }
 
int itype [3] = { 1, 2, 3 }
 
int storev [2] = { MorseRowwise, MorseColumnwise }
 
int norm [4] = { MorseMaxNorm, MorseOneNorm, MorseInfNorm, MorseFrobeniusNorm }
 
char * formatstr [6] = { "CM", "RM", "CCRB", "CRRB", "RCRB", "RRRB"}
 
char * sidestr [2] = { "Left ", "Right" }
 
char * uplostr [2] = { "Upper", "Lower" }
 
char * diagstr [2] = { "NonUnit", "Unit " }
 
char * transstr [3] = { "N", "T", "H" }
 
char * itypestr [3] = { "inv(U')xAxinv(U) or inv(L)xAxinv(L')", "UxAxU' or L'xAxL", "UxAxU' or L'xAxL" }
 
char * storevstr [2] = { "Rowwise", "Columnwise" }
 
char * normstr [4] = { "Max", "One", "Inf", "Fro" }
 
int(* formatmap [6])(int, int, int, int, int, int) = { map_CM, map_RM, map_CCRB, map_CRRB, map_RCRB, map_RRRB }
 

Detailed Description

MORSE testing routines MORSE is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver

Version
0.9.0
Author
Mathieu Faverge
Cédric Castagnède
Date
2018-11-08 normal z -> c d s

Definition in file testing_zauxiliary.c.

Macro Definition Documentation

◆ COMPLEX

#define COMPLEX

Definition at line 37 of file testing_zauxiliary.c.

◆ DOUBLE

#define DOUBLE

Definition at line 39 of file testing_zauxiliary.c.

◆ map_cm

#define map_cm (   m,
  n,
  i,
 
)    ((i) + (j) * (m))

Definition at line 63 of file testing_zauxiliary.c.

◆ map_rm

#define map_rm (   m,
  n,
  i,
 
)    ((i) * (n) + (j))

Definition at line 64 of file testing_zauxiliary.c.

Function Documentation

◆ map_CM()

int map_CM ( int  m,
int  n,
int  mb,
int  nb,
int  i,
int  j 
)

Definition at line 66 of file testing_zauxiliary.c.

◆ map_RM()

int map_RM ( int  m,
int  n,
int  mb,
int  nb,
int  i,
int  j 
)

Definition at line 75 of file testing_zauxiliary.c.

◆ map_CCRB()

int map_CCRB ( int  m,
int  n,
int  mb,
int  nb,
int  i,
int  j 
)

Definition at line 84 of file testing_zauxiliary.c.

◆ map_CRRB()

int map_CRRB ( int  m,
int  n,
int  mb,
int  nb,
int  i,
int  j 
)

Definition at line 103 of file testing_zauxiliary.c.

◆ map_RCRB()

int map_RCRB ( int  m,
int  n,
int  mb,
int  nb,
int  i,
int  j 
)

Definition at line 122 of file testing_zauxiliary.c.

◆ map_RRRB()

int map_RRRB ( int  m,
int  n,
int  mb,
int  nb,
int  i,
int  j 
)

Definition at line 141 of file testing_zauxiliary.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 162 of file testing_zauxiliary.c.

Variable Documentation

◆ IONE

int IONE = 1

Definition at line 42 of file testing_zauxiliary.c.

◆ ISEED

int ISEED[4] = {0,0,0,1}

Definition at line 43 of file testing_zauxiliary.c.

◆ format

int format[6] = { MorseCM, MorseRM, MorseCCRB, MorseCRRB, MorseRCRB, MorseRRRB }

Definition at line 45 of file testing_zauxiliary.c.

◆ side

int side[2] = { MorseLeft, MorseRight }

Definition at line 46 of file testing_zauxiliary.c.

◆ uplo

int uplo[2] = { MorseUpper, MorseLower }

Definition at line 47 of file testing_zauxiliary.c.

◆ diag

int diag[2] = { MorseNonUnit, MorseUnit }

Definition at line 48 of file testing_zauxiliary.c.

◆ trans

int trans[3] = { MorseNoTrans, MorseTrans, MorseConjTrans }

Definition at line 49 of file testing_zauxiliary.c.

◆ itype

int itype[3] = { 1, 2, 3 }

Definition at line 50 of file testing_zauxiliary.c.

◆ storev

int storev[2] = { MorseRowwise, MorseColumnwise }

Definition at line 51 of file testing_zauxiliary.c.

◆ norm

int norm[4] = { MorseMaxNorm, MorseOneNorm, MorseInfNorm, MorseFrobeniusNorm }

Definition at line 52 of file testing_zauxiliary.c.

◆ formatstr

char* formatstr[6] = { "CM", "RM", "CCRB", "CRRB", "RCRB", "RRRB"}

Definition at line 54 of file testing_zauxiliary.c.

◆ sidestr

char* sidestr[2] = { "Left ", "Right" }

Definition at line 55 of file testing_zauxiliary.c.

◆ uplostr

char* uplostr[2] = { "Upper", "Lower" }

Definition at line 56 of file testing_zauxiliary.c.

◆ diagstr

char* diagstr[2] = { "NonUnit", "Unit " }

Definition at line 57 of file testing_zauxiliary.c.

◆ transstr

char* transstr[3] = { "N", "T", "H" }

Definition at line 58 of file testing_zauxiliary.c.

◆ itypestr

char* itypestr[3] = { "inv(U')xAxinv(U) or inv(L)xAxinv(L')", "UxAxU' or L'xAxL", "UxAxU' or L'xAxL" }

Definition at line 59 of file testing_zauxiliary.c.

◆ storevstr

char* storevstr[2] = { "Rowwise", "Columnwise" }

Definition at line 60 of file testing_zauxiliary.c.

◆ normstr

char* normstr[4] = { "Max", "One", "Inf", "Fro" }

Definition at line 61 of file testing_zauxiliary.c.

◆ formatmap

int(* formatmap[6])(int, int, int, int, int, int) = { map_CM, map_RM, map_CCRB, map_CRRB, map_RCRB, map_RRRB }

Definition at line 160 of file testing_zauxiliary.c.