xfblasStatus_t xfblasExecute ( unsigned int kernelIndex = 0, unsigned int deviceIndex = 0 )
This function starts the kernel and waits until it finishes.
Parameters:
| kernelIndex | Index of the kernel that is being used; default is 0. |
| deviceIndex | Index of the device that is being used; default is 0. |
| xfblasStatus_t | 0 if the operation completed successfully. |
| xfblasStatus_t | 1 if the library was not initialized. |
| xfblasStatus_t | 3 if there is no FPGA device memory allocated for instrution. |