#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <assert.h>
#include "spmv.h"
Go to the source code of this file.
|
int | compar (const void *v_lhs, const void *v_rhs) |
|
int | main (int argc, char **argv) |
|
◆ COL
◆ ROW
◆ compar()
int compar |
( |
const void * |
v_lhs, |
|
|
const void * |
v_rhs |
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 37 of file generate.c.
References COL, bench_args_t::cols, compar(), data_to_input(), prng_rand_t::i, N, NNZ, prng_rand(), PRNG_RAND_MAX, prng_srand(), qsort(), read(), ROW, bench_args_t::rowDelimiters, bench_args_t::val, and bench_args_t::vec.