module exec
Global Variables
- ffi
class Vaccel_Args
A helper class for converting argument lists to the appropriate vAccel format
method vaccel_args
vaccel_args(args: List[Any]) → List[VaccelArg]
Convert a list of arguments to a list of VaccelArg objects
Args:
args
: A list of integers
Returns: A list of VaccelArg objects
class Exec_Operation
An Exec Operation model vAccel resource
Attributes:
def_arg_write
(bytes): The result of the operation
class Exec
An Exec operation model vAccel resource
Attributes:
__op__
: The genop operation type
classmethod exec
exec(library: str, symbol: str, arg_read: List[Any], arg_write: List[Any])
Performs the Exec using vAccel over genop.
Args:
library
: Path to the shared object containing the function that the user wants to callsymbol
: Name of the function contained in the above shared objectarg_read
: A list of inputs
Returns:
arg_write
: A list of outputs
class Exec_with_resource
An Exec with resource model vAccel resource.
Attributes:
__op__
: The genop operation type
classmethod exec_with_resource
exec_with_resource(
obj: str,
symbol: str,
arg_read: List[Any],
arg_write: List[Any]
)
Performs the Exec with resource operation
Args:
object
: Filename of a shared object to be used with vaccel execsymbol
: Name of the function contained in the above shared objectarg_read
: A list of inputs
Returns:
arg_write
: A list of outputs