Hi Weng,
Would something similar to the attached patch help you? This of course
is completely untested (it seems to build).
Ideally the list I have made would be setup better, and extensible,
and we just track the dependencies there for specific controllers.
That way we are limiting the churn needed. (And probably prefer using
something better than bubble sort :P)
Thanks!
Dhaval
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel