PandA-2024.02
Data Structures | Macros | Functions
spmv.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include "support.h"
Include dependency graph for spmv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bench_args_t
 

Macros

#define NNZ   1666
 
#define N   494
 
#define TYPE   double
 

Functions

void spmv (TYPE val[NNZ], int32_t cols[NNZ], int32_t rowDelimiters[N+1], TYPE vec[N], TYPE out[N])
 

Macro Definition Documentation

◆ N

#define N   494

Definition at line 12 of file spmv.h.

◆ NNZ

#define NNZ   1666

Definition at line 11 of file spmv.h.

Referenced by data_to_input(), fillVal(), initMat(), input_to_data(), and main().

◆ TYPE

#define TYPE   double

Definition at line 14 of file spmv.h.

Function Documentation

◆ spmv()

void spmv ( TYPE  val[NNZ],
int32_t  cols[NNZ],
int32_t  rowDelimiters[N+1],
TYPE  vec[N],
TYPE  out[N] 
)

Definition at line 8 of file spmv.c.

References N, sum, and TYPE.

Referenced by main(), and run_benchmark().

Here is the caller graph for this function:

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