GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bench.c File Reference
#include "ghost/util.h"
#include "ghost/machine.h"
#include "ghost/bench.h"
#include "ghost/task.h"
#include "ghost/timing.h"
#include "ghost/cu_bench.h"
#include <immintrin.h>
Include dependency graph for bench.c:

Macros

#define N   PAD((ghost_lidx)GHOST_STREAM_ARRAY_SIZE,16)
 
#define NITER   40
 

Functions

static void dummy (double *a)
 
static void ghost_load_kernel (const double *restrict a, double *s)
 
static void ghost_triad_kernel (double *restrict a, const double *restrict b, const double *restrict c, const double s)
 
static void ghost_copy_kernel (double *restrict a, const double *restrict b)
 
static void ghost_store_kernel (double *restrict a, const double s)
 
static void ghost_update_kernel (double *restrict a, const double s)
 
ghost_error ghost_bench_bw (ghost_bench_bw_test test, double *mean_bw, double *max_bw)
 
ghost_error ghost_bench_pingpong (double *bw)
 
ghost_error ghost_bench_peakperformance (double *gf)
 

Macro Definition Documentation

#define N   PAD((ghost_lidx)GHOST_STREAM_ARRAY_SIZE,16)
#define NITER   40

Function Documentation

static void dummy ( double *  a)
static
ghost_error ghost_bench_bw ( ghost_bench_bw_test  test,
double *  mean_bw,
double *  max_bw 
)

Here is the call graph for this function:

ghost_error ghost_bench_peakperformance ( double *  gf)
ghost_error ghost_bench_pingpong ( double *  bw)
static void ghost_copy_kernel ( double *restrict  a,
const double *restrict  b 
)
static
static void ghost_load_kernel ( const double *restrict  a,
double *  s 
)
static
static void ghost_store_kernel ( double *restrict  a,
const double  s 
)
static
static void ghost_triad_kernel ( double *restrict  a,
const double *restrict  b,
const double *restrict  c,
const double  s 
)
static
static void ghost_update_kernel ( double *restrict  a,
const double  s 
)
static