|
BeBOP Optimized Sparse Kernel Interface Library
1.0.1h
|
Conversion between CSR and MATTYPE_TEMPLATE format. More...
#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include <oski/config.h>#include <oski/common.h>#include <oski/modloader.h>#include <oski/matrix.h>#include <oski/CSR/format.h>#include <oski/MATTYPE_TEMPLATE/format.h>#include <oski/MATTYPE_TEMPLATE/module.h>#include <oski/xforms_internal.h>Functions | |
| void * | oski_CreateMatReprFromCSR (const oski_matCSR_t *mat, const oski_matcommon_t *props,...) |
| Method: Instantiate from an existing CSR representation. | |
| oski_matCSR_t * | oski_ConvertMatReprToCSR (const void *mat, const oski_matcommon_t *props) |
| Method: Convert to CSR format. | |
| void | oski_DestroyMatRepr (void *mat) |
| Method: Destroy matrix type-specific representation. | |
| void * | oski_CopyMatRepr (const void *mat, const oski_matcommon_t *props) |
| Method: Duplicate a matrix representation. | |
| int | oski_CreateLuaMatReprFromCSR (lua_State *L) |
| The MATTYPE_TEMPLATE implementation expects the following arguments on the stack: | |
Conversion between CSR and MATTYPE_TEMPLATE format.
| int oski_CreateLuaMatReprFromCSR | ( | lua_State * | L | ) |
The MATTYPE_TEMPLATE implementation expects the following arguments on the stack:
Matrix-type specific method to convert from a CSR matrix, with arguments passed on the Lua stack.
References ERR_NOT_IMPLEMENTED, and OSKI_ERR_NOT_IMPLEMENTED.
1.7.6.1