PandA-2024.02
Macros | Functions
generate.c File Reference
#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"
Include dependency graph for generate.c:

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)
 

Macro Definition Documentation

◆ COL

#define COL   1

Definition at line 13 of file generate.c.

Referenced by compar(), and main().

◆ ROW

#define ROW   0

Definition at line 12 of file generate.c.

Referenced by compar(), and main().

Function Documentation

◆ compar()

int compar ( const void *  v_lhs,
const void *  v_rhs 
)

Definition at line 16 of file generate.c.

References COL, and ROW.

◆ 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, 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.

Here is the call graph for this function:

Generated on Mon Feb 12 2024 13:03:09 for PandA-2024.02 by doxygen 1.8.13