|
BeBOP Optimized Sparse Kernel Interface Library
1.0.1h
|
Generic workload benchmarking utility. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdarg.h>#include <oski/oski.h>#include <oski/simplelist.h>#include "abort_prog.h"#include "testvec.h"#include "timing.h"#include "parse_opts.h"#include "readhbpat.h"#include "matopts.h"#include "keropts.h"#include "workload.h"Data Structures | |
| struct | progopts_t |
Functions | |
| static void | init_default_opts (progopts_t *opts) |
| static void | display_opts (const progopts_t *opts) |
| static void | usage (const char *progname) |
| Print command-line options. | |
| static void | abort_option_error (const char *flag, const char *bad_value, const char *good_value_1,...) |
| static simplelist_t * | process_options (int argc, char *argv[], progopts_t *opts) |
| int | main (int argc, char *argv[]) |
| Main benchmark program. | |
Generic workload benchmarking utility.
This utility can be used to benchmark an arbitrary workload under a specific OSKI-Lua transformation.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Main benchmark program.
References ABORT, ERR_BAD_MAT, INVALID_MAT, progopts_t::matrix, oski_Close(), oski_CreateTimer(), oski_DestroyTimer(), oski_Init(), oski_ReadElapsedTime(), oski_RestartTimer(), oski_StopTimer(), TIMING_LOOP_BASIC, workload_CountFlopsPerNz(), workload_CreateData(), and progopts_t::xform.
| static void usage | ( | const char * | progname | ) | [static] |
Print command-line options.
References keropts_Usage().
1.7.6.1