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

Read the pattern of a file stored in Matrix-Market format. More...

#include <stdio.h>
#include <stdlib.h>
#include <poski/poski_loadmatcommon.h>
#include <poski/poski_malloc.h>
#include <poski/poski_print.h>

Functions

poski_sparse_matrix_t * poski_LoadMatrix_MM_to_CSR (char *fname, poski_index_t MakeUnsymmetric)
 Read the pattern of a file stored in Matrix-Market format.
int test_main_poski_LoadMatrix_MM_to_CSR (char *fname)
 Test the poski_LoadMatrix_MM_to_CSR's routine.

Detailed Description

Read the pattern of a file stored in Matrix-Market format.

This module implemets the routines to read the pattern of a file stored in Matrix-Market format.

Attention:
Called by poski_LoadMatrixHandler.c

Also, refer poski_LoadMatrix_common.c


Function Documentation

int test_main_poski_LoadMatrix_MM_to_CSR ( char *  fname)

Test the poski_LoadMatrix_MM_to_CSR's routine.

This routine is for testing the functionality of the poski_LoadMatrix_MM_to_CSR's routine.

Returns:
0 if success, or an error message otherwise.