BeBOP: pOSKI  v1.0.0
parallel Optimized Sparse Kernel Interface library
 All Files Functions Variables
Functions
poski_Kernel_matmult.c File Reference

Handle the Sparse matrix-vector computations. More...

#include <stdio.h>
#include <stdlib.h>
#include <poski/poski_config.h>
#include <poski/poski_partition.h>
#include <poski/poski_partitioncommon.h>
#include <poski/poski_kernelcommon.h>
#include <poski/poski_threadcommon.h>
#include <poski/poski_matrixcommon.h>
#include <poski/poski_malloc.h>
#include <poski/poski_print.h>

Functions

static int poski_MatMult_threadpool (poski_mat_t A, poski_operation_t op, poski_value_t alpha, poski_vec_t x, poski_value_t beta, poski_vec_t y)
 [library's internal use] Perform an sparse matrix-vector computation using the threadpool.
int poski_MatMult_run (poski_mat_t A, poski_operation_t op, poski_value_t alpha, poski_vec_t x, poski_value_t beta, poski_vec_t y)
 [library's internal use] Perform an sparse matrix-vector computation using the selected threading model.
int poski_Check_PartitionVecMatMult (poski_mat_t A, poski_operation_t op, poski_kernel_t ktype, poski_vec_t x, poski_vec_t y)
 [library's internal use] Partition-check for an appropriate kernel operation $op(A)$.

Detailed Description

Handle the Sparse matrix-vector computations.

This module implements the sparse mtarix-vector computations.

Attention:
These routines are for the library's internal use only and should not normally be called directly by users.
Called by poski_KernelHandler.c

Also, refer poski_Kernel_common.c