PandA-2024.02
Macros | Functions
spmv_test.c File Reference
#include "spmv.h"
Include dependency graph for spmv_test.c:

Go to the source code of this file.

Macros

#define ran   (TYPE)(((double) rand() / (MAX)) * (MAX-MIN) + MIN)
 

Functions

void fillVal (TYPE A[NNZ])
 
void fill (TYPE x[N])
 
void initMat (int colind[NNZ], int rowDelimiters[N+1])
 
void initOut (TYPE y[N])
 
int main ()
 

Macro Definition Documentation

◆ ran

#define ran   (TYPE)(((double) rand() / (MAX)) * (MAX-MIN) + MIN)

Definition at line 4 of file spmv_test.c.

Referenced by fill(), fillVal(), and unique_path().

Function Documentation

◆ fill()

void fill ( TYPE  x[N])

Definition at line 14 of file spmv_test.c.

References L, N, ran, and x.

Referenced by main().

Here is the caller graph for this function:

◆ fillVal()

void fillVal ( TYPE  A[NNZ])

Definition at line 6 of file spmv_test.c.

References A, L, NNZ, and ran.

Referenced by main().

Here is the caller graph for this function:

◆ initMat()

void initMat ( int  colind[NNZ],
int  rowDelimiters[N+1] 
)

Definition at line 24 of file spmv_test.c.

References L, N, and NNZ.

Referenced by main().

Here is the caller graph for this function:

◆ initOut()

void initOut ( TYPE  y[N])

Definition at line 52 of file spmv_test.c.

References N.

Referenced by main().

Here is the caller graph for this function:

◆ main()

int main ( void  )

Definition at line 59 of file spmv_test.c.

References fill(), fillVal(), initMat(), initOut(), L, N, NNZ, spmv(), TYPE, and x.

Here is the call graph for this function:

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