#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 | |||
) | [inline] |
References A, B, mat::gemm(), MIN_TIME_PER_STEP, and SIZE_INCREMENT.
static void tomatlabfile | ( | const char * | name, | |
T * | values, | |||
int | s, | |||
std::ofstream & | output | |||
) | [inline, static] |
static void tomatlabfile | ( | char * | name, | |
T * | values, | |||
int | s, | |||
std::ofstream & | output | |||
) | [inline, static] |
const int MIN_TIME_PER_STEP = 5 [static] |
Referenced by mainFun().
const int SIZE_INCREMENT = 2 [static] |