Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Benchmark.C File Reference

#include <stdlib.h>
#include <string.h>
#include "utilities.h"

Go to the source code of this file.

Defines

#define RESTRICT
#define VECTORIZEME

Functions

void dstream_init (double *RESTRICT a, double *RESTRICT b, double *RESTRICT c, int N)
void dstream_copy (double *RESTRICT a, const double *RESTRICT b, int N, double *mbsize)
void dstream_scale (double *RESTRICT a, const double *RESTRICT b, double scalar, int N, double *mbsize)
void dstream_add (double *RESTRICT a, const double *RESTRICT b, const double *RESTRICT c, int N, double *mbsize)
void dstream_triad (double *RESTRICT a, const double *RESTRICT b, const double *RESTRICT c, double scalar, int N, double *mbsize)
void fstream_init (float *RESTRICT a, float *RESTRICT b, float *RESTRICT c, int N)
void fstream_copy (float *RESTRICT a, const float *RESTRICT b, int N, double *mbsize)
void fstream_scale (float *RESTRICT a, const float *RESTRICT b, float scalar, int N, double *mbsize)
void fstream_add (float *RESTRICT a, const float *RESTRICT b, const float *RESTRICT c, int N, double *mbsize)
void fstream_triad (float *RESTRICT a, const float *RESTRICT b, const float *RESTRICT c, float scalar, int N, double *mbsize)
int stream_bench (int N, double *time, double *mbsec)
 built-in minor variation of the STREAM benchmark. More...


Define Documentation

#define RESTRICT
 

Definition at line 43 of file Benchmark.C.

Referenced by dstream_add, dstream_copy, dstream_init, dstream_scale, dstream_triad, fstream_add, fstream_copy, fstream_init, fstream_scale, and fstream_triad.

#define VECTORIZEME
 

Definition at line 54 of file Benchmark.C.

Referenced by dstream_add, dstream_copy, dstream_init, dstream_scale, dstream_triad, fstream_add, fstream_copy, fstream_init, fstream_scale, and fstream_triad.


Function Documentation

void dstream_add double *RESTRICT    a,
const double *RESTRICT    b,
const double *RESTRICT    c,
int    N,
double *    mbsize
 

Definition at line 93 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

void dstream_copy double *RESTRICT    a,
const double *RESTRICT    b,
int    N,
double *    mbsize
 

Definition at line 73 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

void dstream_init double *RESTRICT    a,
double *RESTRICT    b,
double *RESTRICT    c,
int    N
 

Definition at line 62 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

void dstream_scale double *RESTRICT    a,
const double *RESTRICT    b,
double    scalar,
int    N,
double *    mbsize
 

Definition at line 83 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

void dstream_triad double *RESTRICT    a,
const double *RESTRICT    b,
const double *RESTRICT    c,
double    scalar,
int    N,
double *    mbsize
 

Definition at line 103 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

void fstream_add float *RESTRICT    a,
const float *RESTRICT    b,
const float *RESTRICT    c,
int    N,
double *    mbsize
 

Definition at line 151 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

void fstream_copy float *RESTRICT    a,
const float *RESTRICT    b,
int    N,
double *    mbsize
 

Definition at line 131 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

void fstream_init float *RESTRICT    a,
float *RESTRICT    b,
float *RESTRICT    c,
int    N
 

Definition at line 120 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

void fstream_scale float *RESTRICT    a,
const float *RESTRICT    b,
float    scalar,
int    N,
double *    mbsize
 

Definition at line 141 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

void fstream_triad float *RESTRICT    a,
const float *RESTRICT    b,
const float *RESTRICT    c,
float    scalar,
int    N,
double *    mbsize
 

Definition at line 161 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

int stream_bench int    N,
double *    time,
double *    mbsec
 

built-in minor variation of the STREAM benchmark.

Definition at line 176 of file Benchmark.C.

References dstream_add, dstream_copy, dstream_init, dstream_scale, dstream_triad, fstream_add, fstream_copy, fstream_init, fstream_scale, fstream_triad, NULL, vmd_timer_create, vmd_timer_destroy, vmd_timer_start, vmd_timer_stop, vmd_timer_time, and vmd_timerhandle.


Generated on Sun Jul 6 01:28:02 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002