|
Open Deep Learning API
|
Go to the source code of this file.
Data Structures | |
| struct | odla_task |
| odla task definition More... | |
Typedefs | |
| typedef odla_status(* | odla_async_executor) (odla_status(*) (odla_device, odla_task), odla_device, odla_task) |
| odla task async executor More... | |
Functions | |
| odla_status | odla_SetAsyncExecutor (odla_async_executor executor) |
| \biref set a customized async executor | |
| ODLA_API_EXPORT odla_status ODLA_API_CALL | odla_RunTask (odla_device device, odla_task task) |
| Start a ODLA task in a synchronized manner. More... | |
| ODLA_API_EXPORT odla_status ODLA_API_CALL | odla_RunTaskAsync (odla_device device, odla_task task) |
| Start a ODLA task in a asynchronized manner. More... | |
This file defines the ODLA task related APIs.
Definition in file odla_task.h.
| typedef odla_status(* odla_async_executor) (odla_status(*)(odla_device, odla_task), odla_device, odla_task) |
odla task async executor
Definition at line 41 of file odla_task.h.
| ODLA_API_EXPORT odla_status ODLA_API_CALL odla_RunTask | ( | odla_device | device, |
| odla_task | task | ||
| ) |
Start a ODLA task in a synchronized manner.
| device | The device to run the task |
| task | The task object |
| ODLA_API_EXPORT odla_status ODLA_API_CALL odla_RunTaskAsync | ( | odla_device | device, |
| odla_task | task | ||
| ) |
Start a ODLA task in a asynchronized manner.
| device | The device to run the task |
| task | The task object |