module.c File Reference

Block compressed sparse row (BCSR) module. More...

#include <oski/config.h>
#include <oski/common.h>
#include <oski/modloader.h>
#include <oski/BCSR/format.h>
#include <oski/BCSR/module.h>

Functions

const char * oski_GetShortDesc (void)
 Method: Returns a short string description of the module.
const char * oski_GetLongDesc (void)
 Method: Returns a "long" string description of the module.
void oski_InitModule (void)
 Method: Initialize the module.
void oski_CloseModule (void)
 Method: Shutdown the module.
void * BCSR_GetKernel (const oski_matBCSR_t *A, const char *name)
 This routine loads the requested method if it exists, and caches the $r\times c$ module if it has not yet been loaded.


Detailed Description

Block compressed sparse row (BCSR) module.


Function Documentation

void* BCSR_GetKernel ( const oski_matBCSR_t A,
const char *  name 
)

This routine loads the requested method if it exists, and caches the $r\times c$ module if it has not yet been loaded.

Returns a pointer to the requested submodule method.

Parameters:
[in] A An $r\times c$ BCSR matrix representation.
[in] name Name of the method to load from the $r\times c$ submodule.
Returns:
A pointer to the requested method, or NULL if none could be found.

References tagBebop_matBCSR_t::col_block_size, tagBebop_matBCSR_t::mod_cached, tagBebop_matBCSR_t::mod_name, oski_Free, oski_LoadModule(), oski_LookupModuleMethod(), oski_StringPrintf(), and tagBebop_matBCSR_t::row_block_size.


Generated on Fri Apr 8 22:35:19 2011 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.5.9