GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
ghost
bench.h
Go to the documentation of this file.
1
6
#ifndef GHOST_BENCH_H
7
#define GHOST_BENCH_H
8
9
typedef
enum
10
{
11
GHOST_BENCH_STREAM_COPY
,
12
GHOST_BENCH_STREAM_TRIAD
,
13
GHOST_BENCH_LOAD
,
14
GHOST_BENCH_STORE
,
15
GHOST_BENCH_UPDATE
16
}
ghost_bench_bw_test
;
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
ghost_error
ghost_bench_bw
(
ghost_bench_bw_test
,
double
*mean_bw,
double
*max_bw);
23
ghost_error
ghost_bench_pingpong
(
double
*bw);
24
ghost_error
ghost_bench_peakperformance
(
double
*gf);
25
26
#ifdef __cplusplus
27
}
//extern "C"
28
#endif
29
30
#endif
ghost_bench_bw
ghost_error ghost_bench_bw(ghost_bench_bw_test, double *mean_bw, double *max_bw)
Definition:
bench.c:245
ghost_bench_bw_test
ghost_bench_bw_test
Definition:
bench.h:9
GHOST_BENCH_STORE
Definition:
bench.h:14
ghost_bench_pingpong
ghost_error ghost_bench_pingpong(double *bw)
Definition:
bench.c:369
ghost_error
ghost_error
Error return type.
Definition:
error.h:23
GHOST_BENCH_STREAM_TRIAD
Definition:
bench.h:12
GHOST_BENCH_STREAM_COPY
Definition:
bench.h:11
GHOST_BENCH_UPDATE
Definition:
bench.h:15
ghost_bench_peakperformance
ghost_error ghost_bench_peakperformance(double *gf)
Definition:
bench.c:380
GHOST_BENCH_LOAD
Definition:
bench.h:13
Generated on Thu Dec 13 2018 20:56:02 for GHOST by
1.8.6