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

Handle the permuting routines. More...

#include <stdio.h>
#include <stdlib.h>
#include <poski/poski_commontype.h>
#include <poski/poski_permute.h>
#include <poski/poski_matrixtype.h>
#include <poski/poski_vectortype.h>

Functions

int poski_Init_GlobalPermute (poski_index_t *permute)
 [library's internal use] Initialize permute object.
int poski_report_permute (poski_index_t *permute, char *name)
 [library's internal use] Report the information of permutation.
int poski_permuteMatMult (poski_vec_t vec)
 [library's internal use] Perfoms a permuting operation for a matrix-vector kernel.

Detailed Description

Handle the permuting routines.

This module implements the routines to permute a sparse matrix.

Attention:
Should fix it!

Function Documentation

int poski_permuteMatMult ( poski_vec_t  vec)

[library's internal use] Perfoms a permuting operation for a matrix-vector kernel.

Parameters:
[in]vecVector view object.
Returns:
0 if success, or an error message otherwise.