BeBOP Optimized Sparse Kernel Interface Library
1.0.1h
|
This header file isolates the Lua-dependent aspects of the tuning transform implementation from the core OSKI code. More...
Go to the source code of this file.
Defines | |
#define | INC_OSKI_XFORMS_INTERNAL_H |
oski/xforms_internal.h included. | |
Name mangling. | |
#define | oski_CreateLuaMatReprGenericFromCSR MANGLE_(oski_CreateLuaMatReprGenericFromCSR) |
#define | oski_CreateLuaMatReprGeneric2IndexFromCSR MANGLE_(oski_CreateLuaMatReprGeneric2IndexFromCSR) |
#define | oski_CreateLuaMatReprFromCSR MANGLE_MOD_(oski_CreateLuaMatReprFromCSR) |
Functions | |
int | oski_CreateLuaMatReprGenericFromCSR (lua_State *L, const char *mattype) |
Routine to create a Lua matrix representation from a CSR representation for a simple matrix type. | |
int | oski_CreateLuaMatReprGeneric2IndexFromCSR (lua_State *L, const char *mattype) |
Routine to create a Lua matrix representation from a CSR representation for a matrix type that, on creation, expects two integer index arguments. | |
int | oski_CreateLuaMatReprFromCSR (lua_State *L) |
Matrix-type specific method to convert from a CSR matrix, with arguments passed on the Lua stack. |
This header file isolates the Lua-dependent aspects of the tuning transform implementation from the core OSKI code.
"Lua-dependent" includes dependencies on Lua-specific data structures (e.g., lua_State), for instance.
#define INC_OSKI_XFORMS_INTERNAL_H |
oski/xforms_internal.h included.
int oski_CreateLuaMatReprFromCSR | ( | lua_State * | L | ) |
Matrix-type specific method to convert from a CSR matrix, with arguments passed on the Lua stack.
Matrix-type specific method to convert from a CSR matrix, with arguments passed on the Lua stack.
Matrix-type specific method to convert from a CSR matrix, with arguments passed on the Lua stack.
Matrix-type specific method to convert from a CSR matrix, with arguments passed on the Lua 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.
int oski_CreateLuaMatReprGeneric2IndexFromCSR | ( | lua_State * | L, |
const char * | mattype | ||
) |
Routine to create a Lua matrix representation from a CSR representation for a matrix type that, on creation, expects two integer index arguments.
Routine to create a Lua matrix representation from a CSR representation for a matrix type that, on creation, expects two integer index arguments.
References ERR_BAD_ARG, oski_matlua_t::ind_type, MACRO_TO_STRING, oski_matlua_t::mat, oski_matlua_t::mattype_name, oski_DuplicateString(), oski_HandleError, OSKI_IND_ID, OSKI_MATTYPE_ID, OSKI_MATTYPE_METHOD, OSKI_VAL_ID, oski_matlua_t::props, oski_matspecific_t::repr, oski_matspecific_t::type_id, and oski_matlua_t::val_type.
int oski_CreateLuaMatReprGenericFromCSR | ( | lua_State * | L, |
const char * | mattype | ||
) |
Routine to create a Lua matrix representation from a CSR representation for a simple matrix type.
Routine to create a Lua matrix representation from a CSR representation for a simple matrix type.
References ERR_BAD_ARG, oski_matlua_t::ind_type, MACRO_TO_STRING, oski_matlua_t::mat, oski_matlua_t::mattype_name, oski_DuplicateString(), oski_HandleError, OSKI_IND_ID, OSKI_MATTYPE_ID, OSKI_MATTYPE_METHOD, OSKI_VAL_ID, oski_matlua_t::props, oski_matspecific_t::repr, oski_matspecific_t::type_id, and oski_matlua_t::val_type.