alf_task_desc_create - Creates a task descriptor.
int alf_task_desc_create (alf_handle_t alf_handle, ALF_ACCEL_TYPE_T accel_type, alf_task_desc_handle_t * p_desc_info_handle);
Parameters | |
alf_handle | Handle to the ALF runtime. |
accel_type [IN] | The type of accelerator that tasks created from this descriptor are expected to run on. |
p_task_desc_handle [OUT] | Returns a handle to the created task description. The content of the pointer is not modified if the call fails. |
This function creates a task descriptor. The data structure is returned through the pointer to its handle. The created data structure contains all the information relevant for a compute task.
0 | Successful |
less than 0 | Errors occurred:
|