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

Commonly used routines in the pOSKI library. More...

#include <stdio.h>
#include <stdlib.h>
#include <poski/poski_commontype.h>

Functions

int poski_CheckLength (poski_index_t length1, poski_index_t length2)
 Check that two lengths are equal or not.

Detailed Description

Commonly used routines in the pOSKI library.


Function Documentation

int poski_CheckLength ( poski_index_t  length1,
poski_index_t  length2 
)

Check that two lengths are equal or not.

Parameters:
[in]length1The first length.
[in]length2The second length.
Returns:
0 if two input lengths are equal, -1 otherwise.