MADNESS
0.10.1
|
#include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include <complex>
#include "rdtsc.h"
Macros | |
#define | ZGEMM_FNAME zgemm_ |
Typedefs | |
typedef std::complex< double > | double_complex |
Functions | |
int | main (int argc, char **argv) |
void | mTxm (long dimi, long dimj, long dimk, double_complex *c, const double_complex *a, const double_complex *b) |
void | mTxm_tune (long dimi, long dimj, long dimk, double_complex *c, const double_complex *a, const double_complex *b) |
void | mTxm_zgemm (long ni, long nj, long nk, double_complex *c, const double_complex *a, const double_complex *b) |
void | mTxmq (long dimi, long dimj, long dimk, double_complex *c, const double_complex *a, const double_complex *b) |
double_complex | ran () |
void | ran_fill (int n, double_complex *a) |
void | timer (const char *s, long ni, long nj, long nk, double_complex *a, double_complex *b, double_complex *c) |
void | trantimer (const char *s, long ni, long nj, long nk, double_complex *a, double_complex *b, double_complex *c) |
void | ZGEMM_FNAME (const char *transa, const char *transb, const int *m, const int *n, const int *k, const double_complex *alpha, const double_complex *a, const int *lda, const double_complex *b, const int *ldb, const double_complex *beta, double_complex *c, const int *ldc, int la, int lb) |
#define ZGEMM_FNAME zgemm_ |
typedef std::complex<double> double_complex |
int main | ( | int | argc, |
char ** | argv | ||
) |
References a, std::abs(), b, c, d(), e(), m, MPI_Finalize(), MPI_Init(), mTxm(), mTxmq(), posix_memalign(), ran_fill(), timer(), and trantimer().
void mTxm | ( | long | dimi, |
long | dimj, | ||
long | dimk, | ||
double_complex * | c, | ||
const double_complex * | a, | ||
const double_complex * | b | ||
) |
void mTxm_tune | ( | long | dimi, |
long | dimj, | ||
long | dimk, | ||
double_complex * | c, | ||
const double_complex * | a, | ||
const double_complex * | b | ||
) |
void mTxm_zgemm | ( | long | ni, |
long | nj, | ||
long | nk, | ||
double_complex * | c, | ||
const double_complex * | a, | ||
const double_complex * | b | ||
) |
References a, b, c, and ZGEMM_FNAME.
Referenced by timer(), and trantimer().
void mTxmq | ( | long | dimi, |
long | dimj, | ||
long | dimk, | ||
double_complex * | c, | ||
const double_complex * | a, | ||
const double_complex * | b | ||
) |
double_complex ran | ( | ) |
Referenced by ran_fill().
void ran_fill | ( | int | n, |
double_complex * | a | ||
) |
void timer | ( | const char * | s, |
long | ni, | ||
long | nj, | ||
long | nk, | ||
double_complex * | a, | ||
double_complex * | b, | ||
double_complex * | c | ||
) |
References a, b, c, mTxm_tune(), mTxm_zgemm(), and mTxmq().
Referenced by main().
void trantimer | ( | const char * | s, |
long | ni, | ||
long | nj, | ||
long | nk, | ||
double_complex * | a, | ||
double_complex * | b, | ||
double_complex * | c | ||
) |
References a, b, c, mTxm_tune(), mTxm_zgemm(), and mTxmq().
Referenced by main().
void ZGEMM_FNAME | ( | const char * | transa, |
const char * | transb, | ||
const int * | m, | ||
const int * | n, | ||
const int * | k, | ||
const double_complex * | alpha, | ||
const double_complex * | a, | ||
const int * | lda, | ||
const double_complex * | b, | ||
const int * | ldb, | ||
const double_complex * | beta, | ||
double_complex * | c, | ||
const int * | ldc, | ||
int | la, | ||
int | lb | ||
) |