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() / (RAND_MAX)) * (MAX-MIN) + MIN)
 

Functions

void fillVal (TYPE nzval[N *L], int colind[N *L], TYPE x[N])
 
void initOut (TYPE y[N])
 
int main ()
 

Macro Definition Documentation

◆ ran

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

Definition at line 4 of file spmv_test.c.

Referenced by fillVal().

Function Documentation

◆ fillVal()

void fillVal ( TYPE  nzval[N *L],
int  colind[N *L],
TYPE  x[N] 
)

With... you know... stats.

Definition at line 6 of file spmv_test.c.

References L, N, ran, TYPE, and x.

◆ initOut()

void initOut ( TYPE  y[N])

Definition at line 25 of file spmv_test.c.

References N.

◆ main()

int main ( void  )

Definition at line 32 of file spmv_test.c.

References ellpack(), fillVal(), initOut(), L, N, 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