PandA-2024.02
|
#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.
Macros | |
#define | ROW 0 |
#define | COL 1 |
Functions | |
int | compar (const void *v_lhs, const void *v_rhs) |
int | main (int argc, char **argv) |
#define COL 1 |
Definition at line 13 of file generate.c.
#define ROW 0 |
Definition at line 12 of file generate.c.
int compar | ( | const void * | v_lhs, |
const void * | v_rhs | ||
) |
Definition at line 16 of file generate.c.
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, index, L, N, NNZ, bench_args_t::nzval, prng_rand(), PRNG_RAND_MAX, prng_srand(), qsort(), read(), symmetry::row, ROW, TYPE, and bench_args_t::vec.