BeBOP: pOSKI
v1.0.0
parallel Optimized Sparse Kernel Interface library
|
Naive sparse matrix-vector computation. More...
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <poski/poski_test.h>
Functions | |
int | poski_NavieMatMultCSR (poski_sparse_matrix_t *A, poski_value_t alpha, poski_value_t *x, poski_value_t beta, poski_value_t *y, poski_operation_t op) |
Naive sparse matrix-vector computation (SpMV). |
Naive sparse matrix-vector computation.
This module implements the routines to handle naive sparse matrix-vector computations.
Also, refer poski_TestHandler.c
int poski_NavieMatMultCSR | ( | poski_sparse_matrix_t * | A, |
poski_value_t | alpha, | ||
poski_value_t * | x, | ||
poski_value_t | beta, | ||
poski_value_t * | y, | ||
poski_operation_t | op | ||
) |
Naive sparse matrix-vector computation (SpMV).
[in] | A | Sparse matrix object in CSR format. |
[in] | alpha | Scalar multiplier. |
[in] | x | Vector data pointer. |
[in] | beta | Scalar multiplier. |
[in] | y | Vector data pointer. |