exec 🔗
Exec 🔗
Bases: Exec_Operation
An Exec operation model vAccel resource
exec classmethod
🔗
Performs the Exec using vAccel over genop.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
| str | Path to the shared object containing the function that the user wants to call | required |
| str | Name of the function contained in the above shared object | required |
| List[Any] | A list of inputs | required |
Returns:
Name | Type | Description |
---|---|---|
arg_write | A list of outputs |
Source code in vaccel/exec.py
Exec_Operation 🔗
An Exec Operation model vAccel resource
Exec_with_resource 🔗
Bases: Exec_Operation
An Exec with resource model vAccel resource.
exec_with_resource classmethod
🔗
Performs the Exec with resource operation
Parameters:
Name | Type | Description | Default |
---|---|---|---|
| Filename of a shared object to be used with vaccel exec | required | |
| str | Name of the function contained in the above shared object | required |
| List[Any] | A list of inputs | required |
Returns:
Name | Type | Description |
---|---|---|
arg_write | A list of outputs |
Source code in vaccel/exec.py
Vaccel_Args 🔗
A helper class for converting argument lists to the appropriate vAccel format
vaccel_args staticmethod
🔗
Convert a list of arguments to a list of VaccelArg objects
Args: args : A list of integers
Returns:
Type | Description |
---|---|
List[VaccelArg] | A list of VaccelArg objects |