alf_task_desc_ctx_entry_add

NAME

alf_task_desc_ctx_entry_add - Adds a description of one entry in the task context associated with this task descriptor.

SYNOPSIS

int alf_task_desc_ctx_entry_add (alf_task_desc_handle_t task_desc_handle, ALF_DATA_TYPE_T data_type, unsigned int size);

Parameters  
task_desc_handle [IN] Handle to the task descriptor structure
data_type [IN] Data type of data in the entry
size [IN] Number of elements of type data_type

DESCRIPTION

This function adds a description of one entry in the task context associated with this task descriptor.

RETURN VALUE

0 Successful
less than 0 Errors occurred:
  • ALF_ERR_INVAL: Invalid input argument
  • ALF_ERR_BADF: Invalid task descriptor handle
  • ALF_ERR_NOSYS: The ALF_DATA_TYPE_T provided is not supported.
  • ALF_ERR_PERM: The API call is not permitted at the current context
  • ALF_ERR_NOBUFS: The requested entry has exceeded the maximum buffer size
  • ALF_ERR_GENERIC: Generic internal errors
Related reference
alf_task_handle_t
alf_task_desc_handle_t
alf_task_desc_create
alf_task_desc_destroy
alf_task_desc_set_int32
alf_task_desc_set_int64
alf_task_create
alf_task_finalize
alf_task_wait
alf_task_query
alf_task_destroy
alf_task_depends_on
alf_task_event_handler_register