Dynamic Parallelization.
Merge pull request #269 from kaihowl/pullrequest/kh-dynamic

Dynamic Parallelization.