TO BE IMPLEMENTED
By default each pass within a node depends on the previous pass. If a node can parallelize the computation across multiple hardware engines, e.g. two CPU cores, custom inter-pass dependencies can be defined.
The functions implementing the passes which might run concurrently need to be thread-safe.
In the following example the two passes PROCESS_EVEN and PROCESS_ODD can run in parallel to perform their work concurrently.
The corresponding C++ snippet describing the passes:
passes -> dependencies.dw::framework::describePass() has an optional parameter to define custom inter-pass dependencies.