#include <oski/oski.h>
#include <oski/simplelist.h>
#include <oski/mangle.h>
#include "keropts.h"
Go to the source code of this file.
Defines | |
| #define | INC_BENCH_WORKLOAD_H |
| bench/workload.h included | |
Name mangling. | |
| #define | workload_CreateData MANGLE_(workload_CreateData) |
| #define | workload_SetHints MANGLE_(workload_SetHints) |
| #define | workload_Run MANGLE_(workload_Run) |
| #define | workload_CountFlopsPerNz MANGLE_(workload_CountFlopsPerNz) |
Functions | |
| void | workload_CreateData (oski_index_t num_rows, oski_index_t num_cols, simplelist_t *workload) |
| Allocate temporary arrays for workload simulation. | |
| void | workload_SetHints (oski_matrix_t A, simplelist_t *workload, int always_tune) |
| Call OSKI to set workload hints. | |
| void | workload_Run (const oski_matrix_t A, const simplelist_t *workload) |
| Simulate one execution of a given workload. | |
| double | workload_CountFlopsPerNz (const simplelist_t *workload) |
| Return the number of flops executed per non-zero element for a given workload. | |
| void workload_Run | ( | const oski_matrix_t | A, | |
| const simplelist_t * | workload | |||
| ) |
Simulate one execution of a given workload.
References kernel_t::args, INVALID_MAT, kernel_t::kernel, kernel_t::MatMult, MatMultAndMatTransMult(), kernel_t::MatPowMult, kernel_t::MatTransMatMult, kernel_t::MatTrisolve, simplelist_GetElem(), and simplelist_GetLength().
1.5.9