MADNESS
0.10.1
|
#include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include <madness/tensor/cblas.h>
#include "rdtsc.h"
Functions | |
int | main (int argc, char **argv) |
void | mTxm (long dimi, long dimj, long dimk, double *c, const double *a, const double *b) |
void | mTxm_dgemm (long ni, long nj, long nk, double *c, const double *a, const double *b) |
void | mTxm_tune (long dimi, long dimj, long dimk, double *c, const double *a, const double *b) |
void | mTxmq (long dimi, long dimj, long dimk, double *c, const double *a, const double *b) |
double | ran () |
void | ran_fill (int n, double *a) |
void | timer (const char *s, long ni, long nj, long nk, double *a, double *b, double *c) |
void | trantimer (const char *s, long ni, long nj, long nk, double *a, double *b, double *c) |
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 * | c, | ||
const double * | a, | ||
const double * | b | ||
) |
Referenced by main(), transform3d(), and transform3d_3c().
void mTxm_dgemm | ( | long | ni, |
long | nj, | ||
long | nk, | ||
double * | c, | ||
const double * | a, | ||
const double * | b | ||
) |
References a, b, c, madness::cblas::gemm(), madness::cblas::NoTrans, and madness::cblas::Trans.
Referenced by timer(), and trantimer().
void mTxm_tune | ( | long | dimi, |
long | dimj, | ||
long | dimk, | ||
double * | c, | ||
const double * | a, | ||
const double * | b | ||
) |
void mTxmq | ( | long | dimi, |
long | dimj, | ||
long | dimk, | ||
double * | c, | ||
const double * | a, | ||
const double * | b | ||
) |
double ran | ( | ) |
Referenced by ran_fill(), and Node::random_insert().
void timer | ( | const char * | s, |
long | ni, | ||
long | nj, | ||
long | nk, | ||
double * | a, | ||
double * | b, | ||
double * | c | ||
) |
References a, b, c, mTxm_dgemm(), mTxm_tune(), and mTxmq().
Referenced by madness::MP2::compute_gQf(), madness::TDHF::iterate_vectors(), main(), madness::TDHF::plot(), madness::TDHF::prepare_calculation(), and test_scalar_multiplication().
void trantimer | ( | const char * | s, |
long | ni, | ||
long | nj, | ||
long | nk, | ||
double * | a, | ||
double * | b, | ||
double * | c | ||
) |
References a, b, c, mTxm_dgemm(), mTxm_tune(), and mTxmq().
Referenced by main().