A task contain partial job information such as data split, etc. in order to accomplish a job.
A single task phase.
- STARTING: Initial phase
- COMPUTE: Within bsp()
- BARRIER_SYNC: Reaching sync().
- CLEANUP: Finish entire supersteps execution.
This only indicate a task state.
- UNASSIGNED: Initial state of a task.
RUNNING: Only valid when a task is either in COMPUTE or in BARRIER_SYNC phase.
SUCCEEDED: A task completes its execution at the end of CLEANUP phase.
FAILED: An exception or an error occurrs.