ergo
|
#include <iostream>
#include <fstream>
#include <iomanip>
#include <ctime>
#include <cmath>
#include <cstdlib>
#include <string.h>
#include "gblas.h"
Functions | |
template<class T > | |
static void | tomatlabfile (char *name, T *values, int s, std::ofstream &output) |
template<typename real > | |
int | mainFun (int maxDim, double *timev, double *gflops, bool writeTomFile) |
template<typename T > | |
static void | tomatlabfile (const char *name, T *values, int s, std::ofstream &output) |
int | main (int argc, char *argv[]) |
Variables | |
static const int | MIN_TIME_PER_STEP = 5 |
static const int | SIZE_INCREMENT = 2 |
int main | ( | int | argc, |
char * | argv[] | ||
) |
References SIZE_INCREMENT.
int mainFun | ( | int | maxDim, |
double * | timev, | ||
double * | gflops, | ||
bool | writeTomFile | ||
) |
References SIZE_INCREMENT, MIN_TIME_PER_STEP, A, B, and mat::gemm().
static void tomatlabfile | ( | char * | name, |
T * | values, | ||
int | s, | ||
std::ofstream & | output | ||
) | [static] |
static void tomatlabfile | ( | const char * | name, |
T * | values, | ||
int | s, | ||
std::ofstream & | output | ||
) | [static] |
const int MIN_TIME_PER_STEP = 5 [static] |
Referenced by mainFun().
const int SIZE_INCREMENT = 2 [static] |