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

Benchmark.C File Reference

#include <stdlib.h>
#include <string.h>
#include "WKFUtils.h"
#include "WKFThreads.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...

void vmdbench_minmax_1fv (int sz, int reps, double &runtime, double &bwmbsec)
benchmarking routines for atom selections and SIMD-accelerated array/vector/volume analysis routines. More...

void vmdbench_minmaxmean_1fv (int sz, int reps, double &runtime, double &bwmbsec)
void vmdbench_minmax_3fv (int sz, int reps, double &runtime, double &bwmbsec)
void vmdbench_analyze_selection (int sz, int reps, double &runtime, double &bwmbsec)

Define Documentation

#define RESTRICT

#define VECTORIZEME

Function Documentation

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

Definition at line 94 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 74 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 63 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 84 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 104 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 152 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 132 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 121 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 142 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 162 of file Benchmark.C.

References RESTRICT, and VECTORIZEME.

Referenced by stream_bench.

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

void vmdbench_analyze_selection ( int sz,
int reps,
double & runtime,
double & bwmbsec
)

void vmdbench_minmax_1fv ( int sz,
int reps,
double & runtime,
double & bwmbsec
)

benchmarking routines for atom selections and SIMD-accelerated array/vector/volume analysis routines.

Definition at line 289 of file Benchmark.C.

References minmax_1fv_aligned, wkf_timer_create, wkf_timer_destroy, wkf_timer_start, wkf_timer_stop, wkf_timer_time, and wkf_timerhandle.

void vmdbench_minmax_3fv ( int sz,
int reps,
double & runtime,
double & bwmbsec
)

void vmdbench_minmaxmean_1fv ( int sz,
int reps,
double & runtime,
double & bwmbsec
)

Generated on Tue Nov 18 02:48:26 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /